This is easy. Check this code:
Private Sub Command1_Click()
Dim x As Form
Set x = Forms.Add("Form2")
x.Show
End Sub
>Hi!
>
>I would like to know how to load forms with variable length.
>I can't use the forms collection because it only contains loaded forms.
>
>If somebody knows a way to do this please ...
>
>Thanks
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com