Linked Checkbox across two workbooks

TonySondergeld

New Member
Joined
Jul 11, 2009
Messages
31
I have two workbooks (1 and 2) used as a Data gathering report builder and datadase on both sides. On each there is a Checkbox (A and B) (Active X) that is used for the same purpose (to back-date the schedule after midnight [12.00am] and then update the schedule each day after the production has been entered. What I need to happen is after the schedule is updated, then the Workbook (2) checkbox (B) is checked then the same one on the other workbook (1) Checkbox (A) will also become checked. But then at midnight the Workbook (1) Checkbox (A) that is checked will then be un-checked and when the other workbook (2) is opened it will also then un-checked Checkbox (B). I am not sure if it will need to run a auto-check to see if the other button condition status, but on workbook (1) is always open the other workbook (2) may not always be open. I think this will also have to be able to work backward and forward.
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

TonySondergeld

New Member
Joined
Jul 11, 2009
Messages
31
Sorry forgot to add the code that is beening used for the checkboxs currently.
Code:
Private Sub CKB_BackdateSchedule_Click()
If Me.CKB_BackdateSchedule.Value = True Then
Me.TB_BackdateSchedule.Value = "Back-dated"
TB_CurrentDate.Text = Now() - 1
Sheets("Control").Range("C5").Value = Now() - 220
Else
If Me.CKB_BackdateSchedule.Value = False Then
Me.TB_BackdateSchedule.Value = "Today"
TB_CurrentDate.Text = Now()
Sheets("Control").Range("C5").Value = Now() - 221
End If
End If
End Sub
 

Watch MrExcel Video

Forum statistics

Threads
1,129,364
Messages
5,635,839
Members
416,885
Latest member
hs11

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
Top