+ Reply to Thread
Results 1 to 4 of 4

Unfilter in VBA

  1. #1
    Registered User
    Join Date
    05-25-2016
    Location
    United States, Texas
    MS-Off Ver
    MS Office 2010
    Posts
    86

    Unfilter in VBA

    Hello, I have a macro where i want to unfilter all of my filters (if there are any filters). I used the "ActiveSheet.ShowAllData" and that works fine unless there are no filters. If there arent any filters that are applied, it bring up an error, is there anything i can add to make if only filter if there are applied filters and if not then it just skips it?

    Thanks

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Unfilter in VBA

    Maybe ...

    Please Login or Register  to view this content.
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    05-25-2016
    Location
    United States, Texas
    MS-Off Ver
    MS Office 2010
    Posts
    86

    Re: Unfilter in VBA

    SHG yes that worked perfectly. Thank you!

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Unfilter in VBA

    You're welcome.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] vba to unfilter column B when opening or closing
    By mlski4751 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 04-15-2015, 12:00 PM
  2. Unfilter a workbook before saving
    By boboivan in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-16-2014, 06:01 PM
  3. Macro for what to Unfilter
    By Jiptastic in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-27-2012, 11:15 AM
  4. UNFILTER only when filtered
    By donyc in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-15-2011, 09:55 AM
  5. unFilter Code
    By djblois1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-04-2011, 06:41 PM
  6. Auto UNfilter Excel before saving
    By dogsoul in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-07-2009, 10:03 AM
  7. Code to unfilter one field only
    By scrabtree23 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-19-2005, 12:10 PM

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