+ Reply to Thread
Results 1 to 2 of 2

How to run a macro based on value in combobox and on the click of a cell

  1. #1
    Registered User
    Join Date
    01-12-2014
    Location
    India
    MS-Off Ver
    Excel 2016
    Posts
    77

    How to run a macro based on value in combobox and on the click of a cell

    Hi,

    I have created a combobox with 3 items (weekly, Bi-weekly,monthly). Is it possible that if i select "weekly" in combobox and click on cell "C2" then it should run "macro1".
    Likewise if i select "Bi-weekly" and then click on cell "D3" so as to run specific macro.
    I've just learned how to run macro on cell click. But this is something different.
    Can you please provide some help on this.

    Thank you

  2. #2
    Forum Contributor
    Join Date
    12-14-2013
    Location
    Tilburg, Nederland
    MS-Off Ver
    Excel 2010
    Posts
    256

    Re: How to run a macro based on value in combobox and on the click of a cell

    I assume you use an ActiveX ComboBox1 in Sheet(1)
    Put the code in Sheet1
    Please Login or Register  to view this content.

+ 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. A macro to right click a cell and select a item from the right click menu?
    By Peavey in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-13-2014, 10:55 AM
  2. [SOLVED] Double-click macro to produce different results based on different cell ranges
    By Hobsons in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 03-06-2013, 07:28 AM
  3. [SOLVED] specify cell based on two combobox values
    By Jakes in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-22-2012, 08:08 AM
  4. Hide Combobox based on Cell Value
    By savio21 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-07-2011, 06:28 PM
  5. Deleting a cell based on the value of a combobox
    By AnthonyWB in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-12-2011, 11:15 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