Macro turn off AutoFilter

E

Erin

A while back, Bernie Deitrick posted the following code:


On Error Resume Next
Columns("D:D").AutoFilter Field:=1, Criteria1:="DONCASTER"
Range("D2:D65536").SpecialCells(xlCellTypeVisible).EntireRow.Delete

Repeat the two lines above for each condition, then use the line

Columns("D:D").AutoFilter Field:=1

to turn off the filter, and your macro is done.


I'm using column A and different criteria, and it works except that I'm
still seeing a drop-down arrow in cell A1. How do I remove the drop-down
arrow?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top