Re: Access Menu Bar 'Window' option
From: Berny (BlancoB)
Date: Thu, 22 Jul 2021 07:44:42 -0400
Thanks for the information, I think this should work.
Question is were do I put this code to execute at start-up? in a module? how
do I get it to execute at start-up?
Sorry for the elementary question but I'm still knew at this.
"Stephen K. Young" <s k y @ stanleyassociates . com> wrote in message
> You can copy the Access built-in Window menu to your own menu, and
> manipulate it while your application is running, and put it back when
> For example, you can do something like the following, based on a variable
> ' The Window menu popup in mnuAppMenu uses the standard full Access
> Window menu in order to display the list of open windows
> ' The [&Hide] and [&Unhide] are retained but made invisible (removal
> affects the standard toolbars).
> With mnuAppMenu.Controls("&Window").Controls
> ![&Unhide...].Visible = Not isAppRunning
> ![&Hide].Visible = Not isAppRunning
> End With
> - Steve
> "Berny" <BlancoB at MSN dot Com> wrote in message
>> Is it possible to reference only Open Documents part of the menu or do
>> have to reference the entire menu item?
>> "david epsom dot com dot au" <david@epsomdotcomdotau> wrote in message
>> > These are a bunch of hidden, invisible place holders, that are updated
>> > Access when you open or close a window.
>> > So your two options are (a) add a reference to the original menu item,
>> > (b) create your own place holders, and update them your self. The
>> > with (a) is that any change you make affects the menu item, and the
>> > problem
>> > with (b) is that any change Access makes does NOT affect the menu item.
>> > don't think there is any solution: If you want the menu items to be the
>> > ones
>> > updated by Access, then they have to be the menu items updated by
>> > sorry...
>> > (david)
>> > "Berny" <BlancoB at MSN dot Com> wrote in message
>> > news:%23JAJn5QZEHA.firstname.lastname@example.org...
>> >> Does anyone know how to add the feature under the 'Window' menu option
>> > that
>> >> lists the currently open documents?
>> >> I can't seem to find it under the Menu Customize...
>> >> The problem I'm having is that when I add it from the Built-in Menus
>> >> (Menu
>> >> Customize) or if I copy it, any changes I make to the New or Copied
>> >> Option' also changes the original 'Menu Option'
>> >> Any help would be greatly appreciated