code to determine if form is open

M

mark kubicki

what is the code to determine if a form is open (vs. if it is visible...?)

thanks in advance,
mark
 
D

Douglas J Steele

If (SysCmd(acSysCmdGetObjectState, acForm, "MyForm") And acObjStateOpen)
= acObjStateOpen Then
 
Top