In the userform are a textbox, a label and a picture.
Using just userform2.show does display the right form but the macro is waiting for input.
closing userform2 manually triggers the macro to continue.
With UserForm2
.Show False
For i = 1 To 100
.Label1.Caption = i
.Repaint
For j = 1 To 10000000 ' depending on the processor
Next j
Next i
End With
Unload UserForm2
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.