+ Reply to Thread
Results 1 to 8 of 8

mutually link checkboxes

  1. #1
    Registered User
    Join Date
    08-25-2015
    Location
    California
    MS-Off Ver
    2013
    Posts
    2

    mutually link checkboxes

    Is there a way to mutually link a checkbox to another checkbox on a different worksheet? I want to be able to be on any worksheet and check a box and it will check the linked box on any of the other worksheets. If I knew how to write in VBA then I would totally do it myself but I is a beginner I just can't find anything online for it.Fantasy Football Cheat Sheet 2015 - Copy.xlsm

  2. #2
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: mutually link checkboxes

    Okay I think this is what you want.
    Every check box is linked to the link check boxes procedure in module 2. I didn't want to have to link them all manually so I found some code online, it's in module 4, that will set the on action for every check box to that macro. So if you add a bunch of check boxes then you can just run that macro against the sheet with the newly added check boxes.

    Good Luck.
    Attached Files Attached Files

  3. #3
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: mutually link checkboxes

    To do this with Forms Checkboxes, pick a cell. Name it CheckBoxCell and then format each of the checkboxes with the Cell Link: CheckBoxCell
    _
    ...How to Cross-post politely...
    ..Wrap code by selecting the code and clicking the # or read this. Thank you.

  4. #4
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: mutually link checkboxes

    Quote Originally Posted by mikerickson View Post
    To do this with Forms Checkboxes, pick a cell. Name it CheckBoxCell and then format each of the checkboxes with the Cell Link: CheckBoxCell
    I'm not sure what that means Mike. If you look in the workbook on the overall sheet there's a player with a check box. I think he wanted if you check a player's check box then it checks the check box next to that same player on another sheet and vice versa. Will your solution do that?
    Last edited by skywriter; 08-26-2015 at 01:01 AM.

  5. #5
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: mutually link checkboxes

    I found an issue with Adrian Peterson, when you toggle the check box on and off it works fine with controlling his other check box on the RB sheet. But the check box on the RB sheet won't control the Overall sheet. I chose design view and noticed that the border of your check box on the RB sheet was a little too tall. It was up into row 3, when I adjusted it there was no longer an issue.

  6. #6
    Forum Expert mikerickson's Avatar
    Join Date
    03-30-2007
    Location
    Davis CA
    MS-Off Ver
    Excel 2011
    Posts
    6,229

    Re: mutually link checkboxes

    I should have looked at the attachment. This looks like a good advertisement for Marlet check boxes.

    In the attached, I removed all the checkboxes (and all the formatting that hid the cell contents).
    On any sheet in the workbook, double click a cell in column A to select that player. The cell(s) on the other sheets for that player will be similarly affected. One can add new players without modifying the code, the only requirement is that the player's name be in column C of each of the sheets and that they be unique.

    This is all driven by this code in the ThisWorkbook code module.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    08-25-2015
    Location
    California
    MS-Off Ver
    2013
    Posts
    2

    Re: mutually link checkboxes

    that's awesome! thanks skywriter

  8. #8
    Forum Expert skywriter's Avatar
    Join Date
    06-09-2014
    Location
    USA
    MS-Off Ver
    365 Version 2409
    Posts
    2,789

    Re: mutually link checkboxes

    My pleasure, thanks for the rep. points. :P

    Please click the Thread Tools drop down box above your first post and choose solved.

+ 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] link active x checkboxes
    By MATT.B in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-23-2015, 04:53 PM
  2. How to Create checkboxes in Excel 2010 that link to Live Mail
    By smkei in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-27-2014, 12:15 PM
  3. CheckBoxes Cell link Copy & Paste problem
    By turist in forum Excel General
    Replies: 4
    Last Post: 02-23-2013, 12:39 PM
  4. Replies: 11
    Last Post: 02-14-2013, 06:39 PM
  5. Mutually-exclusive Checkboxes
    By DeBrent in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-12-2010, 08:03 AM
  6. Making checkboxes mutually exclusive
    By instructorjml in forum Excel General
    Replies: 3
    Last Post: 04-06-2006, 01:50 AM
  7. [SOLVED] Link Checkboxes and Grey out the Check
    By Patrick in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-11-2005, 11:05 AM

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