Closing the VBA Editor using code

B

Bony_Pony

Hi all,
One of my macros leaves the VBA Editor window open after
execution. Is there a way to close it without using Alt
F11??

Thanks for any help!

Regards,
Bony_Pony
 
M

Myrna Larson

You can use SendKeys to send these keystrokes. Look it up in Help.

But why and how is your macro opening the VBEditor window? I would find the
answer to that question, then don't open it in the first place.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top