ipbr21054
Well-known Member
- Joined
- Nov 16, 2010
- Messages
- 5,832
- Office Version
- 2007
- Platform
- Windows
I wish to clear either checkbox on sheet BIKES when a user opens a workbook.
On the BIKES sheet this works to clear checkbox for worksheet activate event
BUT it doesnt work for workbook open so please advise correct way.
On the BIKES sheet this works to clear checkbox for worksheet activate event
VBA Code:
Private Sub Worksheet_Activate()
CheckBox1 = False
CheckBox2 = False
End Sub
BUT it doesnt work for workbook open so please advise correct way.
VBA Code:
Private Sub Workbook_Open()
Application.EnableEvents = False
Sheets("BIKES") Checkbox1 = False
Sheets("BIKES") Checkbox2 = False
Application.EnableEvents = True
End Sub
Last edited by a moderator: