Bluesguy07
New Member
- Joined
- Mar 11, 2016
- Messages
- 28
I'm not sure why this is happening, and you guys helped me with this original code... but whenever I run this macro, it is ALWAYS trying to filter the first column when the any cell left of AS1 is selected. I have done some modifications to the original, but can't figure out why it's doing it.
Thanks
Code:
'Filters Column AS by QOI-qty =
redSub FilterColumnAS()
Application.ScreenUpdating = False
ActiveSheet.Range("AS1").Select
Selection.AutoFilter
ActiveSheet.Range("$AS$1:$AY$" & lastr1).AutoFilter Field:=1, Criteria1:=RGB(255, 0 _
, 0), Operator:=xlFilterCellColor
Application.ScreenUpdating = True
End Sub
Thanks
Last edited: