Greetings and TIA for your time
In my code, I want to test to see if AutoFilter is there on the activesheet.
If it is ,I need to switch it off, do something, then re apply the AutoFilter.
--
David
Greetings and TIA for your time
In my code, I want to test to see if AutoFilter is there on the activesheet.
If it is ,I need to switch it off, do something, then re apply the AutoFilter.
--
David
The above is taken from Microsoft's help files.Sub isItOn() Dim isOn As Boolean If Worksheets("Sheet1").AutoFilterMode Then isOn = True Else isOn = False End If MsgBox "AutoFilterMode is " & isOn End Sub
Add inetc...and you're there.ActiveSheet.EnableAutoFilter = True
Martin Short
Thanks Martin
--
David
ActiveSheet.AutoFilterMode
This returns True or False to indicate the status of AutoFilter
John Green
"David" <[email protected]> wrote in message
news:[email protected]...
> Greetings and TIA for your time
> In my code, I want to test to see if AutoFilter is there on the
> activesheet.
> If it is ,I need to switch it off, do something, then re apply the
> AutoFilter.
> --
> David
Thanks John
--
David
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks