Modeless forms

M

m rafala

I'm updating an older macro by adding a non-modal form and I'm seeing
behavior I didn't expect. I simply want to be able to click in and out of my
form (which I can).

But also, when the macro reaches myForm.show, the form opens and the
following code immediately continues to execute. I was expecting the macro
to wait until the form is dismissed before continuing, as with modal forms.

Is this normal behavior for non-modal forms?
 
H

Howard Kaikow

Modeless forms do not wait.
You have to restructure your code to eliminate code after the userform by
putting the code in the userform itself.
 

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