+ Reply to Thread
Results 1 to 2 of 2

Select next or previous Criteria in autofilter list

  1. #1
    Registered User
    Join Date
    06-26-2016
    Location
    santo domingo
    MS-Off Ver
    2016
    Posts
    11

    Select next or previous Criteria in autofilter list

    Hi, I'm trying to develop some vba code to allow a user to quickly select the next option in a autofilter list. Also another version to select the previous option in the list. The idea being to attach these to macro buttons or shortcut keys to allow user's to much more quickly cycle through the options than by manually using the autofilter drop down (very tedious). Really this is just to make data review easier, by displaying only one set of related rows at a time.

    thanls lars

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

    Re: Select next or previous Criteria in autofilter list

    Hi Lars

    Use "Custom View" (see Data tab)
    - allows you to save the filtered view and select it whenever you want
    - so when data changes, the same filters can be applied without having to set them
    - and the VBA is simple (one line per button)

    In attached file Click on buttons 1 , 2 , 3 , 4 to see 4 different views

    code behind button:
    Please Login or Register  to view this content.
    where to find custom view:

    CustomView.jpg
    Attached Files Attached Files
    Last edited by kev_; 06-04-2017 at 02:19 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

+ 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. Select next/previous item from data validation list using Command Button
    By msn.niyasu in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-09-2014, 07:26 AM
  2. Select random row from a list after Autofilter has been applied
    By gkizilis in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-30-2013, 10:57 AM
  3. [SOLVED] Autofilter in VBA using a drop down list for criteria
    By MOONDRIFT47 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-27-2012, 02:00 PM
  4. VBA - Retrieve List of Available Criteria on Autofilter Columns
    By Sandheep in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-14-2012, 12:02 PM
  5. Using OptionButtons to Select Autofilter Criteria
    By easternlethal in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-17-2012, 11:22 PM
  6. Excel 2007 : Autofilter criteria in list.
    By GaidenFocus in forum Excel General
    Replies: 2
    Last Post: 12-15-2010, 11:03 AM
  7. [SOLVED] Get the list from Autofilter after filter some criteria
    By hanawakun in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2005, 04:05 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