The information in this article applies to:
SYMPTOMSWhen you open a workbook that contains a custom menu bar and an attached toolbar, the menu bar and the toolbar may be merged together. If you use a Visual Basic for Applications macro to control the menu bar or the toolbar, you may receive the following error message: Neither the toolbar nor the menu bar are displayed properly. CAUSE
This behavior occurs when both of the following conditions are true:
-and- -and- WORKAROUND
For a custom menu bar to be referred to separately from a custom toolbar in
Microsoft Excel 98 Macintosh Edition, each name must be unique. If the
toolbar and menu bar are given the same name, they are merged as a toolbar.
Microsoft Excel does not recognize that the menu bar is a menu if a toolbar
has the same name.
MORE INFORMATIONThe menu bar structure in Microsoft Excel 98 has changed. Menu bars in Visual Basic for Applications are now referred to as command bars, and they are the same as toolbars. The CommandBar object is a programmable object and applies to the following items:
REFERENCES
For more information about customizing menus, click the Office Assistant,
type add menu, click Search, and then click to view "Add a command to a
menu."
Q176476 OFF: Office Assistant Not Answering Visual Basic Questions Additional query words: 8.00 combine menubar menubars
Keywords : kbprg kbdta xlvbainfo |
Last Reviewed: November 4, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |