Why does the VBA Editor open on its own sometimes?

Kevin Finn picture Kevin Finn · Jan 23, 2009 · Viewed 18.9k times · Source

I created a script in Outlook 2003 VBA that watches for new appointments, and sets them to tentative and no reminder as I create them. I find that seemingly at random, the VBA editor will open itself. It doesn't happen when I use the new script, but it did happen this morning when I un-hibernated my laptop, for example.

The editor doesn't pop up any runtime errors or highlight any lines in the script, it's just there as if I had pressed Alt-F11 to launch it. Sometimes I close other apps and see that it's been sitting back there for a while.

This behavior has only been occurring since I created this new script. Any ideas why this would occur?

Answer

João Silva picture João Silva · Feb 6, 2013

As stated in, Microsoft Support Center:

"This problem occurs only if the Microsoft Visual Basic Editor window is maximized."

Solution:

Un-Maximize Visual Basic Editor and close it.

And you are done!