Modal or Modeless UserForm?

C

Charlotte E.

What's the diffrence between a 'Modal' or 'Modeless' UserForm?
How do I set it?
What the benefits/problems of one over the other?
What's typical uses for either one of them?
 
D

Dave Peterson

Option Explicit
Sub testme()
UserForm1.Show vbModal 'or vbModeless (vbModal is the default)
End Sub

You can look at Show in VBA's help for more info.
 
S

ShaneDevenshire

Hi Charlotte,

With the form selected in the VBE, go to the Properties sheet and set the
ShowModal property to True or False. To see info on it select the ShowModal
line and press F1.
 

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