R
Robert Smith
hello,
I have a piece of code that determines the active
form as follows:
Set frmCurrentForm = Screen.ActiveForm
However when there are no forms active you get the error
message,
You entered and expression that requires a form to be the
active window.
How do we determine if a form is the active window so that
we can avoid running this command if there are no forms
loaded.
Regards
Robert
I have a piece of code that determines the active
form as follows:
Set frmCurrentForm = Screen.ActiveForm
However when there are no forms active you get the error
message,
You entered and expression that requires a form to be the
active window.
How do we determine if a form is the active window so that
we can avoid running this command if there are no forms
loaded.
Regards
Robert