largeselection
Active Member
- Joined
- Aug 4, 2008
- Messages
- 358
Hey again,
I'm writing a macro and I put in an autofilter because I want to delete every line with a "Q" Rank (I assign it a Q given certain requirements) So when I put autofilter I have it just show Q and then I want to delete everything below the autofilter line (where the autofilter boxes are). So i want it to delete everything with a "Q" in column D. However, when I do this in the macro it says select from line 276 down. The problem is that the first Q is not always going to start at line 276. So how do I put it in so that it deletes everything with a Q? Or subsequently, how do I put it so that it deletes everything selected below line 4 (where the autofilter is) after filtering (so only the Qs are showing).
Thanks as always
I'm writing a macro and I put in an autofilter because I want to delete every line with a "Q" Rank (I assign it a Q given certain requirements) So when I put autofilter I have it just show Q and then I want to delete everything below the autofilter line (where the autofilter boxes are). So i want it to delete everything with a "Q" in column D. However, when I do this in the macro it says select from line 276 down. The problem is that the first Q is not always going to start at line 276. So how do I put it in so that it deletes everything with a Q? Or subsequently, how do I put it so that it deletes everything selected below line 4 (where the autofilter is) after filtering (so only the Qs are showing).
Thanks as always