Hello,
I am using the code below to filter the cells but the column W change. For example, it could be "A:AC" so how do I insert ( .end.xlleft ) function to select the column? Thanks
Below is an example of what I am looking for:
Note: the selection should be whole row. Thanks
Zohaib
I am using the code below to filter the cells but the column W change. For example, it could be "A:AC" so how do I insert ( .end.xlleft ) function to select the column? Thanks
Code:
ActiveSheet.Range("A:W").AutoFilter Field:=13, Criteria1:="<0"
Below is an example of what I am looking for:
Code:
ActiveSheet.Range("A:.end(xlleft)").AutoFilter Field:=13, Criteria1:="<0"
Note: the selection should be whole row. Thanks
Zohaib