AutoFilter Macro

  • Thread starter Jan Nademlejnsky
  • Start date
J

Jan Nademlejnsky

I need a macro which turns AutoFilter (Selection.AutoFilter) off if it is
on, but does nothing if it is off.

Thanks for your help.

Jan
 
D

Debra Dalgleish

ActiveSheet.AutoFilterMode = False


Jan said:
I need a macro which turns AutoFilter (Selection.AutoFilter) off if it is
on, but does nothing if it is off.
 
J

Jan Nademlejnsky

Hi Debra,

Thank you very much. I should have asked this question a long time ago to
save my agony.

This works perfectly.

Jan
 

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