79110416

Date: 2024-10-21 14:11:32
Score: 4.5
Natty:
Report link

I know this is a super very uber old thread, but I was looking for the same issue. In my case I click "play" on the vba editor, it loads the form and Excel is blocked. There are no hidden/insensive operations running, form is just waiting for me to give an input on combobox, options, textbox, button.... but I can't use any excel. This is because the form is seen as a priority dialog window in front of excel, so it's impossible to use spreadsheet.

This is not a bug or something, it's a standard behavior bacause excel always runs form in a "modal" mode. What does "modal" mean? When a form is displayed in modal mode, it blocks all other Excel activities until it is closed. This happens because the application's focus is completely shifted to the form.

How to solve it? To unblock Excel and allow the user to work on other sheets while the form is open, you need to display the form in non-modal mode.

Here's how to do it: UserForm1.Show vbModeless

Reasons:
  • Blacklisted phrase (1): How to solve
  • RegEx Blacklisted phrase (1.5): How to solve it?
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Walkingfridge