Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and the Yahoo Answers website is now in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

Aaron B asked in Computers & InternetSoftware · 1 decade ago

VBA Excel, msgbox won't go away. Stuck.?

I was just playing around w/ a vba-excel program i've got and to be brief, The msgbox vbOKOnly will not go away.

Every time i click OK it comes back instantly.

I can't click anywhere in excel to close the file

I can't start the debugger.

I can't even look at other excel files i have open

Besides a system restart or ctrl+alt+del to force the program closed

is there a way to stop the code from executing?

Ask questions if I'm unclear and I will update quickly

2 Answers

Relevance
  • 1 decade ago
    Favorite Answer

    Ctrl+Break

    This should halt the execution of a VBA macro

    The Break key is usually located to the right of the Print Screen key.

  • ?
    Lv 4
    4 years ago

    Close Msgbox Vba

Still have questions? Get your answers by asking now.