+ Reply to Thread
Results 1 to 5 of 5

VBA to run macro based on drop down selection sheet.

  1. #1
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    713

    VBA to run macro based on drop down selection sheet.

    Hi,

    I have a dropdown selection in column L2. I need macro to run based on the selection i do in this dropdown.
    Any codes for this plz..

    Thanks
    Keep the Forum clean :


    1. Use [ code ] code tags [ /code ]. It keeps posts clean, easy-to-read, and maintains VBA formatting.
    2. Show appreciation to those who have helped you by clicking * Add Reputation below their posts.
    3. If you are happy with a solution to your problem, mark the thread as [SOLVED] using the tools at the top.

  2. #2
    Forum Contributor
    Join Date
    04-19-2013
    Location
    Yorkshire, England
    MS-Off Ver
    Excel 2010
    Posts
    297

    Re: VBA to run macro based on drop down selection sheet.

    Assuming you mean cell L2 if you stick this code on the worksheet (not a module) then this will run a macro when any selection is made in the drop down box in L2:

    Please Login or Register  to view this content.
    You would then have to make your macro dependent on a particular condition

    If that doesn't make sense please upload a sample workbook

    Regards,
    Strud
    Last edited by strud; 10-28-2013 at 08:56 AM.

  3. #3
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    713

    Re: VBA to run macro based on drop down selection sheet.

    Thanks. Works well.

  4. #4
    Forum Contributor
    Join Date
    04-19-2013
    Location
    Yorkshire, England
    MS-Off Ver
    Excel 2010
    Posts
    297

    Re: VBA to run macro based on drop down selection sheet.

    your welcome

    don't forget to hit the star if you found it helpful

  5. #5
    Forum Contributor
    Join Date
    07-17-2012
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    713

    Re: VBA to run macro based on drop down selection sheet.

    Already done that Mate! Thanks for the quick response..
    Regards,

+ 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. Transferring data based on drop down selection to another sheet on the same workbork
    By misswendyloo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-12-2013, 12:44 PM
  2. [SOLVED] Looking for an easy way to change data on a sheet based on drop-down selection
    By Spritz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-12-2013, 09:39 AM
  3. Copy cell range from another sheet based on drop down selection.
    By nhen.enry in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 08-09-2012, 09:24 PM
  4. Using Drop Down in one sheet to push row to next sheet based on Selection
    By zackerycarr in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-30-2011, 11:21 AM
  5. Run macro based on drop down selection
    By conrogar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-06-2007, 02:09 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