SheetActivate event

  • Thread starter Thread starter Andy Palmer
  • Start date Start date
A

Andy Palmer

I have a workbook that contains a number of sheets. I want
to be able to pop up a message box when a user selects a
specific sheet. How do I do it?

Thanks
 
Hi Andy

Put this in the worksheets module

Private Sub Worksheet_Activate()
MsgBox ("Your Message here....")
End Sub
 
Many thanks for that - it worked a treat :)
-----Original Message-----
Hi Andy

Put this in the worksheets module

Private Sub Worksheet_Activate()
MsgBox ("Your Message here....")
End Sub



.
 

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