Hi all!
I am experiencing a rather strange and annoying behaviour of Outlook 2003
SP1. When I click on thisOutlookSession and try to pick Application from the
drop down when assigning events, entire Outlook just closes. And does it
very fast - just disappears!
My macro security is set to Medium (Normal) so that I get a message asking
if I want to turn 'em on/off. Noticed that when I agree to disable macros in
this session, the code opens, etc (I can't run it as well obviously) but the
Application event Sub adds and nothing crashes.
I have tried removing all Modules and all the code from ThisOutlookSession -
everywhere... and it still crashes when I click on Application thing. What
is funny that it keeps asking if I wanned to enable Macros, although there
are no any.
Any ideas on what it may be and how to cure it?
Thank you!
Alex A
Eric Legault [MVP - Outlook] - 28 Jun 2005 22:06 GMT
Weird. All I can recommend is either doing a Detect and Repair, or, since
you say you don't have any macros:
- close Outlook
- delete the C:\Documents and Settings\[USERNAME]\Application
Data\Microsoft\Outlook\VBAProject.OTM file (warning - all code will be
destroyed!)
- restart Outlook

Signature
Eric Legault - B.A, MCP, MCSD, Outlook MVP
Try Picture Attachments Wizard for Outlook! http://tinyurl.com/ckytm
Job: http://www.imaginets.com
Blog: http://blogs.officezealot.com/legault/
> Hi all!
>
[quoted text clipped - 17 lines]
>
> Alex A
Alexander V. Alexeev - 29 Jun 2005 04:08 GMT
Thanks a lot!
Deleting of OTM file helped. I exported the code beforehand.
Regards
Alex A