ID: Q162549
The information in this article applies to:
Microsoft Excel toolbars may appear in the Microsoft Visual Basic Editor.
This behavior occurs when the toolbar is undocked and you switch to the Microsoft Visual Basic Editor. This behavior also occurs when you run a subroutine that activates the toolbar by creating an object that has an associated toolbar (for example, a chart).
If you do not want the toolbar to appear in the Microsoft Visual Basic Editor, use one of the following methods.
Close the toolbar by clicking the Close button (the "X") in the upper-right corner of the toolbar. By doing this, you switch back to Microsoft Excel. Press ALT+F11 to return to the Microsoft Visual Basic Editor.
Note: Closing the toolbar in this manner may cause the toolbar to disappear when you switch back to Microsoft Excel. To view the toolbar in Microsoft Excel, click Toolbars on the View menu, and then select the toolbar you want to use.
Switch to Microsoft Excel by pressing ALT+Q, and then deactivate the object the toolbar is associated with to close the toolbar.
For example, if a chart is active, the Chart toolbar is displayed. Click any cell to close the chart and close the Chart toolbar.
Switch to Microsoft Excel by pressing ALT+Q. Dock the toolbar by dragging it by the title bar and placing it at one side of the window.
If a toolbar is displayed when you run a subroutine, deactivate the object that is associated with that toolbar.
For example, if a chart is created through macro code, deactivate the chart with macro code by selecting another object, such as a cell.
Microsoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article.
For more information about toolbars, click the Index tab in Microsoft Excel 97 Help, type the following text
toolbars, displaying
and then double-click the selected text to go to the "Show or hide a
toolbar" topic.
Additional query words: 97 toolbar visible undocked VBE
Keywords : kbprg kbdta xlui KbVBA
Version : WINDOWS:97
Platform : WINDOWS
Issue type : kbprb
Last Reviewed: January 2, 1999