+ Reply to Thread
Results 1 to 3 of 3

Toggle Filter

  1. #1
    Forum Contributor
    Join Date
    05-05-2004
    MS-Off Ver
    Office 365
    Posts
    651

    Toggle Filter

    I have a VSB button that is toggling “Selection.AutoFilter” to turn on and off the filter option.

    The on/off status is also toggling two other buttons but sometimes the file will open with the FILTER ON but my toggle is off.

    Is there a Selection.AutoFilterON / Selection.AutoFilterOFF or something like that?

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: Toggle Filter

    If your data table starts in cell A1 then this works as a toggle
    Please Login or Register  to view this content.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Toggle Filter

    Hi,

    Perhaps ActiveSheet.Autofiltermode if you merely need to know if there is an autofilter on the worksheet.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

+ 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] Use Toggle Button to filter
    By biznez1 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-04-2018, 06:16 AM
  2. [SOLVED] Toggle button to apply filter criteria
    By Storic in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-12-2016, 11:51 AM
  3. Toggle button to turn on/off a filter
    By jcmckeon in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-26-2016, 03:15 PM
  4. Can't Toggle Filter inside Table (tables always Calculating...)
    By krabine in forum Access Tables & Databases
    Replies: 1
    Last Post: 05-03-2015, 04:33 AM
  5. Toggle Button to Filter Empty cells in one column, and cell value in other column
    By goomblar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-18-2014, 06:44 AM
  6. [SOLVED] Toggle Button to filter empty cells or cells with values
    By goomblar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-05-2014, 10:31 AM
  7. Replies: 1
    Last Post: 02-13-2014, 10:55 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