Closed Thread
Results 1 to 2 of 2

Run a macro after selecting a number from a drop menu?

  1. #1
    Forum Contributor
    Join Date
    01-18-2013
    Location
    England
    MS-Off Ver
    2016 (Mac)
    Posts
    149

    Talking Run a macro after selecting a number from a drop menu?

    Hello everyone!

    I have made a drop down menu using Data / Validation / List. The list is very simple just containing numbers 1 to 22. What I want to do is once a user chooses a number from the list lets say number 5 I want a Macro named FiveDays to automatically run. I have tried and tried but to no avail! There will be 22 Macros in total (22 numbers on the drop menu). All that the macro is doing is hiding columns as if the length selected is 5 (5 days) I do not need / want 22 days to be displayed but only 5!

    I am not the best in Excel but am learning and therefore need step by step instructions on this.

    Thank you very much for any help

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,627

    Re: Run a macro after selecting a number from a drop menu?

    Welcome to the Forum, unfortunately:

    This is a duplicate post and as such does not comply with Rule 5 of our forum rules. This thread will now be closed, you may continue in your other thread.

    Thread Closed.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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