+ Reply to Thread
Results 1 to 1 of 1

Script, IF sheet has AutoFilter criteria, to unfilter...

  1. #1
    Forum Contributor tangcla's Avatar
    Join Date
    06-04-2008
    Location
    Melbourne, Australia
    MS-Off Ver
    2010
    Posts
    136

    Script, IF sheet has AutoFilter criteria, to unfilter...

    Is there a way I can write a script which can run based on criteria, IF the sheet is filtered, to unfilter, before processing the remainder of the script?

    Or, better yet, it will do the following, IF the sheet is filtered:
    * Remember what the filter settings are
    * Run an ActiveSheet.ShowAllData
    * Run the remainder of the macro
    * Re-filter so the sheet is back to the way it was previously

    And if the sheet was already unfiltered, just run the macro.
    Last edited by tangcla; 11-10-2009 at 06:39 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1