Tells whether a form is loaded or not
Original Author: Luca Faiazza
Inputs
ByVal pObjForm As Form
Returns
Boolean value
Code
Public Function IsLoadedForm(ByVal pObjForm As Form) As Boolean
Dim tmpForm As Form
For Each tmpForm In Forms
If tmpForm Is pObjForm Then
IsLoadedForm = True
Exit For
End If
Next
End Function