code to determine if form is open

  • Thread starter Thread starter mark kubicki
  • Start date Start date
M

mark kubicki

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

thanks in advance,
mark
 
If (SysCmd(acSysCmdGetObjectState, acForm, "MyForm") And acObjStateOpen)
= acObjStateOpen Then
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top