worksheet

  • Thread starter Thread starter alldreams
  • Start date Start date
A

alldreams

I'd like a checkbox to be unchecked when the user goes to
a different worksheet in the same workbook. What
function should I use?

thanks!
 
You may use the following event-functions of the 'ThisWorkbook' module
Private Sub Workbook_SheetActivate(ByVal Sh As Object
'manage your checkbox as you wan
'Sh is the new active worksheet
End Sub
Private Sub Workbook_SheetDeactivate(ByVal Sh As Object
'manage your checkbox as you wan
'Sh is the new active worksheet
End Su

or the event-functions of the worksheet module
Private Sub Worksheet_Activate(
'manage your checkbox as you wan
End Su
Private Sub Worksheet_Deactivate(
'manage your checkbox as you wan
End Su
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top