XL5: Can't Use Toolbar Button Name to Index Toolbar Buttons |
In Microsoft Excel version 5.0, the Visual Basic Reference Help topic on the ToolbarButton Method incorrectly states that you can use the name of a button to index toolbar buttons. This information is incorrect. If you use the name of the toolbar button to index the button, you will receive the following error message:
To index a toolbar button, you must use the number of the button, not the name.Run-time error '1004':
ToolbarButtons method of Toolbar class failed.
To find the toolbar button's number, count the buttons (from left to
right) on the toolbar that contains the button.
NOTE: Blank spaces between buttons count as one button.
To find the ToolbarButton Method Help topic, do the following:
ToolbarButtons Method
Additional query words:
Keywords :
Version : 5.00
Platform : WINDOWS
Issue type :
Technology :
|
Last Reviewed: September 16, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |