We help IT Professionals succeed at work.

VBA Editor opens every time I unlock computer

ralmada asked
Medium Priority
Last Modified: 2012-06-22

I'm experiencing this weird situation that every time I unlock my PC, VBA editor shows up magically.

I'm using Windows XP sp 2 and MS-Outlook 2000

Any advice would be appreciated!!!

Watch Question

Brian MulderFreelance
Top Expert 2006

Hello ralmada,

the VBA Editor pops up with the key combination ALT+F11 so are you maybe pressing those keys in unlocking the machine?



Hi bruintje,

Nop, I am not pressing those keys when unlocking my pc.

I forgot to mention that this happens only when I open the VBA editor, and then close it. It doesn´t occur when I first enter the outlook.


Brian MulderFreelance
Top Expert 2006

could you describe precisely what happens

- you have outlook open
- you open the vb editor
- then close the vb editor
- your computers goes on screen saver
- when you unlock it the vb editor springs up?


That's exactly what's happening. :)
Top Expert 2010
Greetings, ralmada.

This happens to me too in Outlook 2003.  Once I've opened the VB Editor in Outlook, Windows always brings it back up when taking the screen saver off or when I RD into my computer from another computer.  It doesn't matter that I've closed the editor, Windows always switches back to it.  It keeps doing this until I close and restart Outlook.  It's a tad annoying, but I couldn't find a solution and have learned to live with it.  


Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Brian MulderFreelance
Top Expert 2006
funny that a reference to a likewise problem was here on EE, not that the answer wil help much
This is funny, I get this all the time. It also happens when I go back and forth to and from ANY application that utilizes full screen.
In case anyone else finds this question, this MSKB article says "it's a problem with these product" (which includes Office 2003 and 2007.


Nice, eh?
One other (non-ideal) idea to fix this:

If you do have to work in the VBA editor at some point, close all the way out of Outlook and then go back in. The next time you lock your machine (or it goes to the screensaver), it won't open the editor again. That's not much fun but it does resolve this issue.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.