How to check if a form is open

P

Pele

In a macro I had written, I need to open a form and then
update the textboxes on the form. But I need the macro to
first check if the form is already open. If it was already
open, then I want the macro to close it and reopen it
again; otherwise, it will just open the form.

Can anybody give me a code that will do this. Thanks.

Pele
 

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

Top