How do i detect the active form in MDI?
Printable View
How do i detect the active form in MDI?
Add this code somewhere in an event of your MDI parent
Code:Dim frm As Form
Set frm = Me.ActiveForm
MsgBox frm.Name
Yes it worked, but not they way I need,
frmMain = MDI FORM
frmdocument = the multiple docemnt i call upon multiple times
I need to know the name of the active docemnt, not the form......Thanks though
Yes it worked, but not they way I need,
frmMain = MDI FORM
frmdocument = the multiple docemnt i call upon multiple times
I need to know the name of the active docemnt, not the form......Thanks though