When I press Command1 on Form1 It will check if Form2 is loaded and return true if it's loaded and false if it's not loaded....What function can I use to check for form2???
Printable View
When I press Command1 on Form1 It will check if Form2 is loaded and return true if it's loaded and false if it's not loaded....What function can I use to check for form2???
Dim frm As Form
For Each frm In VB.Forms
If frm.Name = "form2" Then
MsgBox "loaded"
End If
Next frm