Home All Groups Group Topic Archive Search About

Code for finding more than one form open in a application

Author
6 Mar 2006 8:36 AM
Subbaiah
Hello,
From one form ,not an mdi form,, From a child form, code to check wthether
some other child forms are open.

Please send the code.

With Regards,
Subbaiah

Author
6 Mar 2006 9:42 AM
NickHK
Subbaiah,
You have the Forms collection, which shows all the loaded forms in your app.
Dim frm As Form
For Each frm In Forms
    MsgBox frm.Name
Next

NickHK

Show quoteHide quote
"Subbaiah" <subba***@cspl.com> wrote in message
news:ezHQWkPQGHA.648@TK2MSFTNGP14.phx.gbl...
> Hello,
> From one form ,not an mdi form,, From a child form, code to check wthether
> some other child forms are open.
>
> Please send the code.
>
> With Regards,
> Subbaiah
>
>