Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
RonB
 
Posts: n/a
Default Autofilter Macro Help

Is there a macro statement I can use that will set the AutoFilter condition
to OFF regardless of teh current state it is in?
--
RonB
  #2   Report Post  
Max
 
Posts: n/a
Default

Maybe try the snippet below, copied from Debra's:
http://www.contextures.com/xlautofilter03.html

Turn Off AutoFilter

Use the following code to turn off an AutoFilter, if one exists

Sub TurnFilterOff()
'removes AutoFilter if one exists
Worksheets("Data").AutoFilterMode = False
End Sub

--
Rgds
Max
xl 97
---
GMT+8, 1° 22' N 103° 45' E
xdemechanik <atyahoo<dotcom
----
"RonB" wrote in message
...
Is there a macro statement I can use that will set the AutoFilter

condition
to OFF regardless of teh current state it is in?
--
RonB



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
workbook macro help ditchy Excel Discussion (Misc queries) 2 December 27th 04 04:48 AM
Record Macro Relative does not work? lbbss Excel Discussion (Misc queries) 3 December 13th 04 08:43 PM
Record Macro Relative does not work? lbbss Excel Discussion (Misc queries) 1 December 13th 04 07:55 PM
Macro and If Statement SATB Excel Discussion (Misc queries) 2 December 3rd 04 04:46 PM
macro interruption: help!!! mario milani Excel Discussion (Misc queries) 1 November 30th 04 06:02 PM


All times are GMT +1. The time now is 03:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"