Click to See Complete Forum and Search --> : How to check from Form1 if Form2 is loaded


AndyK
October 23rd, 1999, 08:46 PM
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???

Lothar Haensler
October 25th, 1999, 11:13 AM
Dim frm As Form
For Each frm In VB.Forms
If frm.Name = "form2" Then
MsgBox "loaded"
End If
Next frm