Macro's for this project are disabled ?!

ttw

Joined
Apr 6, 2010
Messages
1
Reaction score
0
I have a problem using Macro's in Outlook2007. I can make them, run them, save them, know about macro security and programming, so thats not the issue. Problem is when i close Outlook and start it up again it says: "Macros are diabled for this project".
Only workaround is delete the '%appdata\microsoft\outlook\VbaProject.OTM', start outlook and paste my macro again. But closing Outlook gives the same problem all over.
The problem is also not in the roaming/local directory on out domain. I get the same on a local pc with only Windows XP and Outlook.

To try this with a small example:
Start Outlook 2007
ALT-F11
Double-click 'Project1 (VbaProject.OTM)'
Double-clik 'Microsoft Office Outlook'
Double-click 'ThisOutlookSession'
Copy/Paste or Typ the following macro in the box:
Public Sub Hoi()
MsgBox ("Hello world!")
End Sub
Save
Close

Now in Outlook press ALT-F8 and run the macro 'ThisOutlookSession.Hoi' and it will greet you.
Now close Outlook, start it up again and see....

I browsed a lot of forums and googles my a$$ off and this forum was recommended by a friend, so make his words true please... ;)
 

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