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.
 
Top