cannot start macros in project

G

Gabriele

hi to all,
I have a strange problem concerning auto_open and other macros. when i
put them in the code of my global.mpt they don't work.
here's a portion of my code:

Dim WithEvents App As Application
Dim WithEvents Proj As Project
Sub Auto_Open()
Dim res As Boolean
MsgBox "auto_open..."
End Sub

Public Sub Proj_Activate(ByVal pj As Project)
MsgBox "Project Just activated"
End Sub

Public Sub Proj_Open(ByVal pj As Project)
MsgBox "Project Just Opened"
End Sub

I tried also the change between the signature Proj_Activate with
Project_Activate but they don't work ...
Any suggestion, please???
Gabriele
 

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