Outlook VBA Macro Cause Close Loop - Code-Tips.com - Web Development, Programming, SEO

Wednesday, January 26, 2011

Outlook VBA Macro Cause Close Loop

When developing a macro for Outlook 2007 Visual Basic Editor, part of the macro code caused outlook to close unexpectedly (“Unexpected Error has occurred”) while attempting to load. This meant that I was not able to easily access the macro to fix the issue.

The article Outlook Close Loop - VB Macro Development suggested to adjust the macro security check option via the registry to allow Outlook to open again. This worked, which allow Outlook to open without the error. When prompted to enable or disable macros while loading, I opted to disabled macros. This allowed Outlook to full load, and gave me access to the VB Editor to fix the issue.

0 comments:

Post a Comment