AutoFilter Macro

  • Thread starter Thread starter Jan Nademlejnsky
  • Start date 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
 
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.
 
Hi Debra,

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

This works perfectly.

Jan
 
Back
Top