XL: Excel 4.0 Menus Option Setting Not Saved

ID: Q106357

The information in this article applies to:

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, 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 professionals 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/

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

Additional query words: 5.00 7.00 XL5 XL7
Keywords          : kbprg PgmOthr PgmHowto 
Version           : WINDOWS:5.0,7.0; MACINTOSH:5.0
Platform          : MACINTOSH WINDOWS
Issue type        : kbprb

Last Reviewed: May 17, 1999