In the On Click event of the "Close Form" button, put 2 lines - one to
reopen the Main Menu form and one to close this form:
DoCmd.OpenForm "MainMenuForm
DoCmd.Close acForm, "ThisFormsName"
--
hth,
SusanV
"tlynn" <(E-Mail Removed)> wrote in message
news

52D9577-7328-4253-8BC3-(E-Mail Removed)...
>I have a "Main Menu" switchboard style form that has numerous buttons that
> open forms. Each button opens a form, and each form has a menubar/toolbar
> that has a "Exit", "Main Menu", "Filter", etc. buttons at the top. Once I
> open a form and press the "Main Menu" button, the original form stays
> open.
> How can I close this form using this "Main Menu" button. I am not sure
> where
> the vba code would be.
>
> Thank You - Tim