Worksheet_Activate

G

greg

There is an excel with 2 sheets sheet1 and sheet2 with their respective
Worksheet_Activate
methods. on going from sheet1 to sheet2 and back(in debug mode) the
respective Worksheet_Activate methods are being invoked.

I added a new sheet sheet3 . now the Worksheet_Activate for sheet3 is
not invoked...

any clues please
 
C

CurlyDave

Did you use the workbook module, instead of a worksheet module??such As

Private Sub Workbook_SheetActivate(ByVal Sh As Object)
MsgBox "hi"
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

Top