+ Reply to Thread
Results 1 to 3 of 3

Macro to make list box menus auto-display when cell is clicked?

  1. #1
    Forum Contributor
    Join Date
    05-23-2014
    Location
    Fredericia, Denmark
    MS-Off Ver
    Windows Office 2013, Excel 10
    Posts
    139

    Macro to make list box menus auto-display when cell is clicked?

    Does anyone know how to code a macro that will make a listbox display its drop down menu once the listbox cell is clicked? I would like to eliminate the step of having to click on the side arrow. In my example (see attached file) when a listing is selected in a list box it hides or unhides rows of text on the adjacent sheet. (I'm creating a "Task Generator" where teams can choose Goals on a "Scorecard" and by doing so create a list of detailed Tasks on another Sheet.) In the attached file there are only two listbox options: "Not Pursuing" or "Pursuing - Show All Tasks" but the actual tool I've already created has several dozen Goals, some with a few dozen Tasks associated with them, and about 20 different configurations of Listbox menus to use among these Goals. Thus, I really don't want to re-code to use combo boxes or such...

    BTW, I am very new to macros so please dumb down any explanations. (use short words, speak slowly, etc....

    Thanks for any help you can give. David
    Attached Files Attached Files

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: Macro to make list box menus auto-display when cell is clicked?

    Not sure there is a method to display data validation dropdown so I resorted to sendkeys

    Please Login or Register  to view this content.
    Code goes in sheet object code module.
    Cheers
    Andy
    www.andypope.info

  3. #3
    Forum Contributor
    Join Date
    05-23-2014
    Location
    Fredericia, Denmark
    MS-Off Ver
    Windows Office 2013, Excel 10
    Posts
    139

    Re: Macro to make list box menus auto-display when cell is clicked?

    Andy, this works perfectly. Just what I needed. Thanks very much! David

+ 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 make a non-macro button/checkbox that when clicked will copy value out of that cell
    By ladydubs in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-20-2013, 12:44 PM
  2. Display contents of cell in another only when clicked on
    By jshaw82 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 01-20-2013, 03:56 PM
  3. Make the macro display the cell addresses affected.
    By leaning in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-14-2011, 09:01 PM
  4. How to auto-enter date when cell is clicked?
    By Ron M. in forum Excel General
    Replies: 4
    Last Post: 10-22-2005, 04:05 PM
  5. Display Values based on 2 separate List Menus
    By brianv in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-16-2005, 07:25 PM

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