Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to know if a form is open

Status
Not open for further replies.

MaggieLeatherman

Programmer
May 9, 2004
59
0
0
US
What code do I use to find out if a form is open. I need to use this information in an IF statement...
Thanks, Maggie
 
A starting point:
If CurrentProject.AllForms("yourForm").IsLoaded Then
MsgBox "yourForm is open"
End If

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top