Can't get Worksheet_Activate() to work in one spreadsheet.

C

clay

Private Sub Worksheet_Activate()
MsgBox "Help"
End Sub

This MsgBox or any code will not execute. This code is placed in the Sheet.
 
C

Claus Busch

Hi Clay,

Am Fri, 16 Aug 2013 09:59:31 -0700 (PDT) schrieb clay:
This code is placed in the Sheet.

right click on sheet tab => Show code and paste your code into the code
window of this sheet


Regards
Claus B.
 
I

isabelle

hi,

execute the following code to reactivate events

Sub Macro1()
Application.EnableEvents = True
End Sub

isabelle

Le 2013-08-16 12:59, clay a écrit :
 
C

clay

hi,



execute the following code to reactivate events



Sub Macro1()

Application.EnableEvents = True

End Sub



isabelle



Le 2013-08-16 12:59, clay a écrit :

Isabelle,

Thank you. That fixes the problem.
 

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