Thread: AutoFilter
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
rjamison rjamison is offline
external usenet poster
 
Posts: 45
Default AutoFilter

if Activesheet.AutofilterMode then
Activesheet.AutofilterMode = False
End if

Note that you can not set this property to True to turn on the
Autofilter.

--
Regards,
Tom Ogilvy

"Gareth" wrote in message
...

How, by code, can I check if autofilter is on?

If it is on, switch it off.

Thanks in advance.

Gareth