Help with a Macro Close Form Command

  • Thread starter Thread starter Radar
  • Start date Start date
R

Radar

Need help with macro's
I have several custom menu bars. and I want to add a close button on
the menu. I would like to have one macro to close a form without
specifying the name of the form to close. There a way to call the same
mcrCloseForm. and add it to each menu bar? I want to avoid creating a
macro for each of the forms that I have.

Thank
Radar
 
Radar,

The Close action in a macro, if the Object Type and Object Name
arguments are left blank, will mean the currently active object,
whatever that happens to be, will be closed.
 
Back
Top