How does one
1) detect what (dynamic forms) are present
2) close a dynamic form?
frm.close doesn't work
Unload frm doesn't work either
I have a bunch of dynamic forms created by using the following code which I would like to close without having to make the user hit the "x" button.
Dim frm As frmExistingForm
Set frm = New frmExistingForm
frm.Show vbModeless
Once I figure out how to close them, I need to figure out how to find them. I suppose I could put them in a collection in thisworkbook, but I'd rather detect them if possible.
1) detect what (dynamic forms) are present
2) close a dynamic form?
frm.close doesn't work
Unload frm doesn't work either
I have a bunch of dynamic forms created by using the following code which I would like to close without having to make the user hit the "x" button.
Dim frm As frmExistingForm
Set frm = New frmExistingForm
frm.Show vbModeless
Once I figure out how to close them, I need to figure out how to find them. I suppose I could put them in a collection in thisworkbook, but I'd rather detect them if possible.