Closed Darker closed 9 years ago
Thanks for your comment. You can use GitHub to make changes and additions to the VBA documentation, but for issues with your code we suggest that you post your question on one of these forums.
https://social.msdn.microsoft.com/Forums/office/en-US/home?forum=outlookdev http://stackoverflow.com/questions/tagged/outlook
I have a problem with this basic tutorial: https://github.com/OfficeDev/VBA-content/blob/master/Outlook-VBA/articles/560bb264-05d0-dbc6-39c2-b95b12f50ed9.md
Also hosted on msdn: https://msdn.microsoft.com/en-us/library/bb206733.aspx
I produced following code, placed in
ThisOutlookSession
:I enabled macros:
I confirmed that I allow macros after outlook restart:
Still I get no effect whatsoever. However if I put some debug code in application startup callback, it works - I can print Hello world on startup:
So why is startup the only callback that works?