|
|
Title | Display a form using its name |
Keywords | form, display, form name |
Categories | Tips and Tricks, Controls |
|
|
Thanks to Yang Dong-Cheol.
Use the Forms collection's Add method to add a form with the given name. Then show the new form.
|
|
Private Sub cmdShowForm_Click()
Dim frm As Form
Set frm = Forms.Add(txtFormName.Text)
frm.Show
End Sub
|
|
|
|
|
|