Linking Checkboxes

trevolly

Board Regular
Joined
Aug 22, 2021
Messages
124
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I have a workbook with two sheets in it named "Eastern End" and "Western End" On each of these sheets I have a checkbox ("Developer, Insert, Checkbox (form controls"). The checkbox on the "Eastern End" worksheet has a cell link of "$DA$12". There is then conditional formatting on cells on this sheet to activate when the checkbox is ticked.

Is there any way I can link these check boxes on different sheets so that if one is ticked on one sheet then the checkbox on the other sheet also becomes ticked and vice versa.

Thank you all
 

Excel Facts

Easy bullets in Excel
If you have a numeric keypad, press Alt+7 on numeric keypad to type a bullet in Excel.
Assign these macros to the "Western End" checkbox and the "Eastern End" checkbox respectively. Change the names of the checkboxes (both "Check Box 1") in this example as required.

VBA Code:
Public Sub WesternEnd_CheckBox_Click()
    ThisWorkbook.Worksheets("Eastern End").Shapes("Check Box 1").OLEFormat.Object.Value = ActiveSheet.Shapes("Check Box 1").OLEFormat.Object.Value
End Sub

Public Sub EasternEnd_CheckBox_Click()
    ThisWorkbook.Worksheets("Western End").Shapes("Check Box 1").OLEFormat.Object.Value = ActiveSheet.Shapes("Check Box 1").OLEFormat.Object.Value
End Sub
 
Upvote 1
Solution

Forum statistics

Threads
1,224,813
Messages
6,181,112
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top