Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / June 2005

Tip: Looking for answers? Try searching our database.

Outlook 2003 crashes in VBA editor

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alexander V. Alexeev - 24 Jun 2005 01:22 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.