Excel 4.0 Menus Option Setting Not Saved (106357)



The information in this article applies to:

  • Microsoft Excel for Windows 95
  • Microsoft Excel for Windows 5.0
  • Microsoft Excel for the Macintosh 5.0

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:

  1. In a new workbook, point to Macro on the Insert menu, and click Module.
  2. 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
    						
  3. On the File menu, click Save.
  4. In the File Name box, enter a name for the workbook.
  5. 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)".
  6. On the Window menu, click Hide.
  7. On the File menu, click Exit. When asked to save the workbook, click Yes.
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.

REFERENCES

"User's Guide," version 5.0, page 642

"Visual Basic User's Guide," version 5.0, page 266

For more information about switching to the version 4.0 menus, choose the Search button in Help and type:

Microsoft Excel 4.0


Modification Type:MinorLast Reviewed:10/10/2006
Keywords:kbprb kbProgramming KB106357