+ Reply to Thread
Results 1 to 4 of 4

Run multiple macros based on checked checkboxs

  1. #1
    Registered User
    Join Date
    04-23-2015
    Location
    Brazil
    MS-Off Ver
    2010
    Posts
    2

    Run multiple macros based on checked checkboxs

    Hello

    I'm having trouble making a macro that run another macros based on selected checkbox. For exemple, if checkbox 2 and 4 are selected, I want to run macros 2 and 4 when I make the command.

    I've tried the two options below, but on both of then just run the first selected macro. If checkbox 2 and 4 are checked, only runs macro 2. If I uncheck checkbox 2 (leave only cb 4 checked), then macro 4 runs when I give the command.

    I also have tried using case statement, but I get the same result.

    Can anyone help me?

    Attempt 1:

    Please Login or Register  to view this content.

    Attempt 2:


    Please Login or Register  to view this content.
    Last edited by hcquadros; 04-23-2015 at 09:27 PM.

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Run multiple macros based on checked checkboxs

    thanks for code tags...
    Last edited by protonLeah; 04-24-2015 at 12:23 AM.
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    04-23-2015
    Location
    Brazil
    MS-Off Ver
    2010
    Posts
    2

    Re: Run multiple macros based on checked checkboxs

    Srry. Fixed.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,613

    Re: Run multiple macros based on checked checkboxs

    There's nothing wrong with the samples. You should post the macro-x codes

+ 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. Code for Button that runs macros dependent upon which boxes are checked?
    By Nola111 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-21-2014, 11:28 AM
  2. Check Box that shows options in Combo Box if Checked, and Hides if Not Checked
    By dumbjodie in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-13-2013, 10:06 AM
  3. [SOLVED] When checkbox is checked it does not copy to new sheet. Only if not checked using false
    By thelisa in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-28-2013, 07:59 AM
  4. Replies: 2
    Last Post: 12-19-2012, 11:23 PM
  5. [SOLVED] CheckBoxs to print multiple pages
    By nighttrainrex in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-12-2012, 08:32 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