Microsoft Knowledge Base |
|
Excel: Macro Commands to Show or Hide All Toolbars |
|
|
Last reviewed: September 12, 1996
Article ID: Q101621 |
|
|
The information in this article applies to:
In Microsoft Excel version 4.0, you can use the SET.NAME() and IF() macro commands to show or hide all available toolbars. To show all available toolbars, use the following lines of macro code:
A1: =SET.NAME("AllToolbars",GET.TOOLBAR(8))
A2: =IF(ISERROR(AllToolbars),,SHOW.TOOLBAR(AllToolbars,TRUE))
where:
To hide all available toolbars, use the following lines of macro code:
A1: =SET.NAME("AllToolbars",GET.TOOLBAR(8))
A2: =IF(ISERROR(AllToolbars),,SHOW.TOOLBAR(AllToolbars,FALSE))
where:
REFERENCES"Function Reference," version 4.0, pages 206-207, 398
|
|
KBCategory: kbmacro
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |