+ Reply to Thread
Results 1 to 2 of 2

Want to use arrow keys to filter for particular variables

  1. #1
    Registered User
    Join Date
    07-10-2005
    Location
    Atlanta
    Posts
    20

    Want to use arrow keys to filter for particular variables

    I've got a big table (~100,000 rows) with a filtered column named "VarName" -- the name of the variable that my user wants to see (e.g., AnnualRevenue, NumStaff). There are about 500 different VarNames.
    When the user filters on a particular VarName, the application already shows (1) a graph showing the values of the variable, sorted from low to high, (2) the name of the variable, and for both the smallest and largest value, (3) the company name and the value.
    The problem is that it's very time-consuming and tedious for the user to manually set the filter each time.
    I want her to be able to simply press arrow keys (<= and =>) to scroll to the next or previous VarNames, automatically setting the filter so that everything but the user's selected VarName is filtered out.
    I vaguely suspect this will involved OOP in VBA, but don't have a clue how to do it.

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

    Re: Want to use arrow keys to filter for particular variables

    Just to make sure I understand the current practice

    Is the user simply clicking on the arrow at the top of the column and selecting one of the values? (ie one of 500(?) cell values in that column) or is user selelection done in another cell?
    How is "next" and "previous" determined? (Alphabetic ? Set sequence? etc)
    How is graph dynamically linked to user-selected variable?
    Where does the chart derive its values (main data table? summary of main data? pivot fom main data? etc)
    What is "OOP"?


    Thanks
    Last edited by kev_; 03-27-2018 at 02:16 PM.
    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. [SOLVED] How to push painted cell using the arrow keys or shape-arrow in Excel - VBA-Offset?
    By Dumy in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-04-2015, 05:05 AM
  2. [SOLVED] Arrow keys
    By Kim in forum Excel General
    Replies: 4
    Last Post: 08-10-2014, 05:57 PM
  3. UserForm and arrow keys
    By ade40ish in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-25-2009, 03:06 PM
  4. Arrow Keys
    By sunnyjs321 in forum Excel General
    Replies: 2
    Last Post: 08-22-2006, 05:30 PM
  5. Arrow keys
    By Harley in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-26-2006, 11:10 AM
  6. Code for Arrow keys
    By praveen_khm in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-24-2006, 02:59 PM
  7. [SOLVED] arrow keys
    By Dean in forum Excel General
    Replies: 2
    Last Post: 02-14-2005, 11:06 AM

Tags for this Thread

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