Microsoft KB Archive/106357

= Excel 4.0 Menus Option Setting Not Saved =

Article ID: 106357

Article Last Modified on 10/10/2006

-

APPLIES TO


 * Microsoft Excel 95 Standard Edition
 * Microsoft Excel 5.0 Standard Edition
 * Microsoft Excel 5.0 for Macintosh

-



This article was previously published under Q106357





SYMPTOMS
When you switch to Microsoft Excel Version 4.0 menus, the setting is not retained when you quit Microsoft Excel.



CAUSE
In the versions of Microsoft Excel listed at the beginning of this article, you can switch to Microsoft Excel version 4.0 menus by clicking Options on the Tools menu and selecting the Microsoft Excel Version 4.0 Menus option on the General tab. However, when you exit Microsoft Excel, the Microsoft Excel Version 4.0 Menus setting is not retained.

This behavior is by design.

The Microsoft Excel Version 4.0 Menus option is provided to help you adjust to the version 5.0 and 7.0 menus. However, when this option is selected, you do not have full access to all the functionality of Microsoft Excel versions 5.0 and 7.0.



WORKAROUND
Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to 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 requirements. The following sample macro automatically switches to Microsoft Excel version 4.0 menus each time you start Microsoft Excel. To create the procedure, follow these steps:

 In a new workbook, point to Macro on the Insert menu, and click Module.  In the new module, enter the following code: ' Macro name must be Auto_Open to run automatically. Sub Auto_Open ' Switch to Microsoft Excel version 4.0 menus. Application.DisplayExcel4Menus = True ' Switch back to Sheet1 of default workbook. Sheets("Sheet1").Select End Sub  On the File menu, click Save. In the File Name box, enter a name for the workbook. In the Directories box, select the Microsoft Excel Startup directory and click OK or Save.

Note, in Microsoft Windows this directory is \Excel\Xlstart and on the Macintosh it is "hard drive: System Folder: Preferences: Excel Startup Folder (5)". On the Window menu, click Hide.</li> On the File menu, click Exit. When asked to save the workbook, click Yes.</li></ol>

The next time you start Microsoft Excel, this workbook will be opened as a hidden workbook and the Microsoft Excel version 4.0 menus will be displayed.

<div class="references_section">