XL: Unable to Hide Full Screen Toolbar Through a ProcedureLast reviewed: February 3, 1998Article ID: Q152821 |
The information in this article applies to:
SYMPTOMSIn the versions of Microsoft Excel listed above, the Full Screen toolbar may stay visible in Full Screen mode, even though you are correctly using macro code to hide it.
CAUSEThis usually happens if Microsoft Excel is switched to full screen display through Microsoft Excel macro code and an attempt to hide the Full Screen toolbar occurs in the same macro. Any change to the Full Screen toolbar visibility state during a macro that switches full screen state may not work.
WORKAROUNDMicrosoft provides programming examples for illustration only, without warranty either expressed or implied, including, but not limited to, the implied warranties of merchantability and/or fitness for a particular purpose. This article assumes that you are familiar with the programming language being demonstrated and the tools used to create and debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific needs. If you have limited programming experience, you may want to contact the Microsoft fee-based consulting line at (800) 936-5200. For more information about the support options available from Microsoft, please see the following page on the World Wide Web:
http://www.microsoft.com/support/supportnet/refguide/default.aspUse the OnTime method to call a second procedure that will set the visible property of the Full Screen toolbar to FALSE. The following example shows you how to create such a procedure.
To Run the Macro
STATUSMicrosoft has confirmed this to be a problem in the products listed at the beginning of this article. This problem was corrected in Microsoft Excel 97 for Windows and Microsoft Excel 98 Macintosh Edition.
MORE INFORMATIONFull-screen mode maximizes the application window to cover the entire screen and hides the application title bar (in Microsoft Windows). Toolbars, the status bar, and the formula bar maintain separate display settings for full-screen and normal mode. You can set or return the Full Screen status by using the Visual Basic for Applications property, DisplayFullScreen. The DisplayFullScreen property equals True if Microsoft Excel is in full-screen mode. The Visible property for the Toolbar object will allow you to set or return the visibility of any Microsoft Excel toolbar. If the toolbar is visible the visible property is TRUE; if the toolbar is not visible the visible property is FALSE.
REFERENCESFor more information about the Visible property in Microsoft Excel version 7.0, click Answer Wizard on the Help menu and type:
VisibleFor more information about DisplayFullScreen in Microsoft Excel version 7.0, click Answer Wizard on the Help menu and type:
DisplayFullScreenFor more information about DisplayFullScreen in Microsoft Excel version 5.0, choose the Search button in Visual Basic Reference Help and type:
DisplayFullScreen PropertyFor more information about the Visible Property in Microsoft Excel version 5.0, choose the Search button in Visual Basic Reference Help and type:
Visible Property |
Additional query words: 5.00 5.00a 5.00c 7.00 7.00a XL7 XL5
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |