Apr 14, 2008 #1 RobM76 Technical User Feb 6, 2008 17 CA Hi there, Can someone please tell me how to check if a form is open?? thanks....
Apr 14, 2008 #2 Andrzejek Programmer Jan 10, 2006 8,537 US Code: Dim frmMyForm As Form For Each frmMyForm In Forms If frmMyForm.Name = "Form1" Then MsgBox "Bingo!" End If Next frmMyForm Have fun. ---- Andy Upvote 0 Downvote
Code: Dim frmMyForm As Form For Each frmMyForm In Forms If frmMyForm.Name = "Form1" Then MsgBox "Bingo!" End If Next frmMyForm Have fun. ---- Andy
Apr 14, 2008 Thread starter #3 RobM76 Technical User Feb 6, 2008 17 CA Thats great. Thanks Andrzejek!!!!!!!!!!!!! Upvote 0 Downvote
Apr 14, 2008 #4 strongm MIS May 24, 2001 20,177 GB Um ... that just tells you if the form is loaded, not if it is open ... Upvote 0 Downvote