Outlook Macro Causing Error When Loading
A macro I was developing for Outlook 2007 caused outlook to close with the following error: “Unexpected Error has occurred”. The error was within a function that was called during Outlooks loading sequence, which caused Outlook to close before I was able to access the Visual Basic Editor to fix the problem.
The following article explains a similar scenario where Outlook was stuck in a close loop due to a macro running at startup:
VB Macro - Outlook closing with error when loading
By adjusting the macro security settings via the registry, Outlook was able to open again. After disabling macros when prompted, Outlook fully loaded and I was then able to fix the issue in the macro using the VB editor.
Submit a review:
Login required.