sissy60504
New Member
- Joined
- Jul 25, 2012
- Messages
- 13
Good morning all,
I have a file that I need to remove all rows if column A is not equal to 2. I have tried multiple ways in my macro with the latest being:
ActiveSheet.Paste
Sheets("Questions - Status Not 2 digits").Select
ActiveSheet.Range("$A$1:$L$300000").AutoFilter Field:=1, Criteria1:<>"2"
, Operator:=xlFilterValues
Which gives me an error. can this be done? If so, please help!
Thanks so much!
I have a file that I need to remove all rows if column A is not equal to 2. I have tried multiple ways in my macro with the latest being:
ActiveSheet.Paste
Sheets("Questions - Status Not 2 digits").Select
ActiveSheet.Range("$A$1:$L$300000").AutoFilter Field:=1, Criteria1:<>"2"
, Operator:=xlFilterValues
Which gives me an error. can this be done? If so, please help!
Thanks so much!