WORKSHEET CHANGE HANDLER

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello. I want to run a function when a user clicks to view a particular
worksheet. I know a button click event would look like the following:

Sub btnMyButton_Click

End Sub

Is there a change handler that watches when a user goes to a particular
worksheet? If not, is there something similar I can use?
 
Dan,
You have
Private Sub Worksheet_Activate()
as an event on each worksheet or
Private Sub Workbook_SheetActivate(ByVal Sh As Object)
as an event on ThisWorknook

NickHK
 

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