R
Rob
Hi,
I have an application that someone else has written in Access 2000 and the
following line is triggered by clicking a button on a form, what I would
like to happen is that the default Menu Bar is turned ON if it's not shown
and turned OFF if it is shown. I've tried some code similar to .acToolbarNo
= Not .actoolbarYes but to no avail.
Any help most welcome. Rob
Function RestoreMenuBar()
DoCmd.ShowToolBar "Menu Bar", acToolbarYes
End Function
I have an application that someone else has written in Access 2000 and the
following line is triggered by clicking a button on a form, what I would
like to happen is that the default Menu Bar is turned ON if it's not shown
and turned OFF if it is shown. I've tried some code similar to .acToolbarNo
= Not .actoolbarYes but to no avail.
Any help most welcome. Rob
Function RestoreMenuBar()
DoCmd.ShowToolBar "Menu Bar", acToolbarYes
End Function