Opening multiple instances of a form isn't a problem;
Code:
Dim frms As Collection
Public Function ShowForms(Optional closeForms As Boolean = False)
Dim f As Form, i As Integer
Set frms = New Collection
If closeForms Then Exit Function
For i = 0 To 3
Set f = New Form_frmStar
f.Visible = True
frms.Add f
Set f = Nothing
Next i
End Function
But what if I want to pass in the name of the form so I can open multiple instances of *ANY* form?
Code:
Public Function ShowForms(formName as String, Optional closeForms As Boolean = False)