"solar" <sp*******@gmail.com> schreef in bericht news:11**********************@u72g2000cwu.googlegr oups.com...
With my command DoCmd.ShowToolbar "Toolbar1", acToolbarYes i make my
toolbar Toolbar1 visible.I want at the same time make all
other
toolbars on the screen invisible,regardless how they are
called.Sometimes i have
different toolbars shown and i am interested in a command
that does
not refer toa specific toolbar, but makes all the toolbats
on the
screeninvisible.Is it possible ?
I could not find a solution but maybe the command
DoCmd.RunCommand acCmdShowOnlyWebToolbar
will help you.
This command seems to make all toolbars invisible except the Toolbar "web" (if visible)
So I would try:
DoCmd.RunCommand acCmdShowOnlyWebToolbar
DoCmd.ShowToolbar "Web", acToolbarNo
DoCmd.ShowToolbar "Toolbar1", acToolbarYes
Arno R