+ Reply to Thread
Results 1 to 4 of 4

Multiple Checkboxes performing similar macro

  1. #1
    Forum Contributor
    Join Date
    08-16-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2019
    Posts
    209

    Multiple Checkboxes performing similar macro

    Hi,

    I have issue with multiple check boxes which confuse me like hell.
    I need a smarter macro to go through each of the checkboxes and if it is true then do x and if it is false do y..

    Go through Checkboxes 17 to 31
    If checkbox n = True then Produce Tick on col L
    Else Col L value = Not Ticked
    End if


    Please see sample workbook.

    Thanks
    Lex
    Attached Files Attached Files
    Last edited by lexusap; 05-01-2017 at 11:54 PM.

  2. #2
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Multiple Checkboxes performing similar macro

    How about this ?

    Please Login or Register  to view this content.
    Avoid using Select, Selection and Activate in your code. Use With ... End With instead.
    You can show your appreciation for those that have helped you by clicking the * at the bottom left of any of their posts.

  3. #3
    Forum Contributor
    Join Date
    08-16-2012
    Location
    Sydney
    MS-Off Ver
    Excel 2019
    Posts
    209

    Re: Multiple Checkboxes performing similar macro

    Hi Bakerman2,

    That works perfectly!!!

    Thanks

  4. #4
    Forum Guru bakerman2's Avatar
    Join Date
    10-03-2012
    Location
    Antwerp, Belgium
    MS-Off Ver
    MO Prof Plus 2016
    Posts
    6,907

    Re: Multiple Checkboxes performing similar macro

    You're welcome.

+ 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. [SOLVED] Toggle between userform checkboxes for multiple pairs of checkboxes
    By L plates in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 04-25-2016, 06:31 AM
  2. Excel Checkboxes Performing Word Document Merges
    By sammyp1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-28-2014, 03:09 PM
  3. Performing Multiple Commands in a single macro (Macro novice here!)
    By yankeesrus07 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-10-2012, 02:58 AM
  4. [SOLVED] one macro to run multiple checkboxes
    By ShoshanaM in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-12-2012, 04:40 PM
  5. [SOLVED] Macro to run multiple checkboxes
    By notavirusfan in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-17-2012, 06:16 PM
  6. Multiple checkboxes, one macro?
    By pkohler in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-01-2005, 02:05 PM
  7. [SOLVED] On Change (Checkboxes) or something similar.
    By David in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-12-2005, 02:06 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