+ Reply to Thread
Results 1 to 3 of 3

Drop down list to trigger a macro

Hybrid View

  1. #1
    Registered User
    Join Date
    06-19-2012
    Location
    Finland
    MS-Off Ver
    Excel 2007
    Posts
    14

    Drop down list to trigger a macro

    Hey all!
    Ive problem with code. I have two form control drop down lists. I want that if value of one of those drop down lists has changed it will trigger a macro. Ive been trying to do with cell link. when the value of cell is changed it will run the macro. I tried to do that with Worksheet_change but it didnt work. I paste my workbook here and if somebody could show me how does it work thank you very much in advance!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Steffen Thomsen's Avatar
    Join Date
    10-15-2010
    Location
    Kolding, Denmark
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    953

    Re: Drop down list to trigger a macro

    Hi,

    If you write the macro with what need to happen then you can assign the macro to the drop down control.

    Right click the drop down and in the menu press "Assign macro". This macro fires when a selection is made in the drop down.
    Please take time to read the forum rules

  3. #3
    Forum Expert
    Join Date
    07-20-2011
    Location
    Mysore, India.
    MS-Off Ver
    Excel 2019
    Posts
    8,710

    Re: Drop down list to trigger a macro

    Pl See the attached file.

    Macro DropDown1_Change is assigmed to dropdown box.When the value is changed the macro runs.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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