Hello All,
I have compiled a little code for a macro to filter based on a highlighted cell value. It is however, for a specific column.
Is there a way to adapt a filter field to be picked up by where the cell is? I mean to insert the cell value into the field that represents the column in which the highlighted cell sits?
Column A is filter field 1 ...
I cannot find anything that will be clear enough to me to understand how I can adapt it to make it happen. Below is the code I used:
I need to adapt the part where it says ".AutoFilter Field:=2," to count which column it is to be applied to.Please Login or Register to view this content.
Any ideas appreciated.
Thank you in advance.
Simon
Bookmarks