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:
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...
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
SaveMsgBox ("Hello world!")
End Sub
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...