The information in this article applies to:
SYMPTOMSIn Microsoft Excel, when you use the Add method of the ToolbarButtons collection to add a button to a toolbar, you may receive the following error message:
CAUSE
This behavior occurs if you add a button using a button ID number that is
not valid or does not have a corresponding button face. For example, button
ID value 146 does not have a corresponding button, and you receive the
error message described above when you add a button using this button ID
value.
REFERENCESFor more information about the available toolbar button ID values, click the Index tab in Visual Basic Reference Help, and type the following text ToolbarButton Objectand then double-click the selected text to go to the "ToolbarButton Object" topic. In the "ToolbarButton Object" topic, click the "Toolbar Button ID Values" topic. Additional query words:
Keywords : kbprb |
Last Reviewed: October 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |