Jagdev Singh
Active Member
Hi Experts
I just want to know if the Field code in the VBA autofilter can be changes to name of the column say "Name" instead of the number of the column. I googled it and find that the data type of it is Variant.
Regards,
JD
I just want to know if the Field code in the VBA autofilter can be changes to name of the column say "Name" instead of the number of the column. I googled it and find that the data type of it is Variant.
Code:
ActiveSheet.ListObjects("Table").Range.AutoFilter Field _
:=25
Regards,
JD