VBABEGINER
Well-known Member
- Joined
- Jun 15, 2011
- Messages
- 1,284
- Office Version
- 365
- Platform
- Windows
Below, my filter is not applied...it giving me an error..
Run time error 1004
AutoFilter method of Range class failed
Pls suggest..
Run time error 1004
AutoFilter method of Range class failed
Pls suggest..
Code:
Range("A5").Select
ActiveWindow.FreezePanes = False
Range("A4").Select
Selection.AutoFilter
Range("AF4").Select
ActiveSheet.Range(Cells(4, 32), Cells(LstRw5, 32)).AutoFilter Field:=32, Criteria1:=nm
Last edited by a moderator: