Excel: GET.TOOLBAR(9) Function Returns Incomplete Array of IDsLast reviewed: November 30, 1994Article ID: Q93492 |
The information in this article applies to:
SUMMARYWhen you start Microsoft Excel, the docked tool bars are loaded before the floating tool bars. The way these tool bars are loaded may present a problem if you are using an Auto_Open macro that uses the GET.TOOLBAR(9) function. Since the Auto_Open macro may be run before the floating tool bars are loaded, the GET.TOOLBAR(9) function will return an incomplete array of tool bar IDs.
MORE INFORMATIONThe GET.TOOLBAR() function is used to return information about one tool bar or all tool bars. GET.TOOLBAR(9) returns an array of tool bar IDs for all visible tool bars. The GET.TOOLBAR() function may not return a complete array of tool bar IDs if you use it in an Auto_Open macro (a macro that loads automatically when you start Microsoft Excel). The following situations will cause the macro to run before the floating tool bars are loaded, which will result in an incomplete array of tool bar IDs.
Microsoft Excel for the Macintosh and Microsoft Excel for Windows
Microsoft Excel for Windows
Workaround for Microsoft Excel for WindowsTo load the floating tool bars before the macro is started, use one of the following methods to start Microsoft Excel:
REFERENCES"Online Help," version 5.0 "Function Reference," version 4.0, pages 206-207
|
KBCategory: kbprb
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |