Microsoft Knowledge Base |
|
Excel: Menu and Toolbar Macro Functions Add Blank Items |
|
|
Last reviewed: June 30, 1997
Article ID: Q107749 |
|
The information in this article applies to:
SUMMARYMenu and toolbar macro functions such as ADD.BAR(), ADD.COMMAND(), ADD.MENU(), ADD.TOOL(), and ADD.TOOLBAR() may add blank items when they reference blank cells.
MORE INFORMATIONThe ADD.BAR() macro function is used to create a new menu bar. If you display the menu bar using the SHOW.BAR() command before adding custom menus and commands, an empty menu bar will be displayed. The ADD.MENU() macro function is used to add menus to new or built-in menu bars. If the menu_ref argument consists of empty cells, a blank menu with no commands will be added. The ADD.COMMAND() macro function is used to add commands to existing menus on built-in or custom menu bars. If the command_ref argument consists of empty cells, a blank command is added to the specified menu. The ADD.TOOLBAR() macro function (Microsoft Excel version 4.0 only) is used to create a custom toolbar. If the tool_ref argument points to empty cells or is omitted, an empty toolbar will be created. To display the toolbar, the SHOW.TOOLBAR() function must be used. The ADD.TOOL() macro function (Microsoft Excel version 4.0 only) is used to add tools to built-in or custom toolbars. If the tool_ref argument consists of empty cells, no tool is added to the specified toolbar.
Steps to Reproduce Behavior
REFERENCES"Function Reference," version 4.0, pages 7-13 "User's Guide 2," version 4.0, pages 282-291 "Function Reference," version 3.0, pages 4-7 "User's Guide," version 3.0, pages 646-649 "Functions and Macros," version 2.1, pages 197-201
|
|
Additional reference words: 4.00 4.00a 3.00 3.00a 2.10 empty
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |