Auto Filters on/off

P

pgarcia

I have the following code: ActiveSheet.ShowAllData
what is the code to indicate if the auto filter is not on to keep running
the rest of the VB code?

thanks
 
P

pgarcia

Never mind, just found what I was looking for.

With ActiveSheet
If .FilterMode Then
.ShowAllData
End If
End With
 
P

pgarcia

Cool, thanks. I found a post that you wrote back in 2004 with that same code.
Thanks
 

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