+ Reply to Thread
Results 1 to 2 of 2

Control an autofilter using Checkbox Control

  1. #1
    Registered User
    Join Date
    05-07-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    2

    Control an autofilter using Checkbox Control

    Hello all,

    My first post in the forum! I'm trying to create and control an autofilter using a check box control, for a single column.

    The data is simply a "y" or left blank, and I want a check box control to filter all the rows with "y" (if checked), and display all results (blank or "y") if unchecked. Preferably, I would like the control caption to be descriptive, rather than the criteria.

    I had started with an approach using the following, though I freely admit I could be on the wrong track (and I'm a VBA newbie):

    Please Login or Register  to view this content.
    With:

    Please Login or Register  to view this content.
    That seems to work for filtering the "y" values. But I couldn't get anywhere with a Macro2 to show all results. It doesn't run when I uncheck the box

    Any advice?

    EDIT: I should add that I'll be doing the same thing for multiple columns.
    Last edited by evyxmsj; 05-07-2015 at 08:12 AM. Reason: Clarification

  2. #2
    Registered User
    Join Date
    05-07-2015
    Location
    England
    MS-Off Ver
    2013
    Posts
    2

    Re: Control an autofilter using Checkbox Control

    Here an example of what I was trying to do.Book 1.xlsm

+ 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. Checkbox using Format Control and copying control values
    By bigapple14 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-10-2014, 09:28 AM
  2. Checkbox Control
    By dblcrona in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-24-2014, 01:16 PM
  3. [SOLVED] Way to Control Checkbox
    By kristi_ut in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-27-2013, 03:13 AM
  4. Replies: 2
    Last Post: 03-19-2013, 08:01 AM
  5. Checkbox control value
    By genegammage in forum Excel General
    Replies: 2
    Last Post: 06-10-2011, 05:28 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