Microsoft KB Archive/106357: Difference between revisions

From BetaArchive Wiki
(importing KB archive)
 
m (Text replacement - """ to """)
 
Line 80: Line 80:
         Application.DisplayExcel4Menus = True
         Application.DisplayExcel4Menus = True
         ' Switch back to Sheet1 of default workbook.
         ' Switch back to Sheet1 of default workbook.
         Sheets("Sheet1").Select
         Sheets("Sheet1").Select
       End Sub
       End Sub
                         </pre></li>
                         </pre></li>
Line 87: Line 87:
<li>In the Directories box, select the Microsoft Excel Startup directory and click OK or Save.<br />
<li>In the Directories box, select the Microsoft Excel Startup directory and click OK or Save.<br />
<br />
<br />
Note, in Microsoft Windows this directory is \Excel\Xlstart and on the Macintosh it is &quot;hard drive: System Folder: Preferences: Excel Startup Folder (5)&quot;.</li>
Note, in Microsoft Windows this directory is \Excel\Xlstart and on the Macintosh it is "hard drive: System Folder: Preferences: Excel Startup Folder (5)".</li>
<li>On the Window menu, click Hide.</li>
<li>On the Window menu, click Hide.</li>
<li>On the File menu, click Exit. When asked to save the workbook, click Yes.</li></ol>
<li>On the File menu, click Exit. When asked to save the workbook, click Yes.</li></ol>
Line 98: Line 98:
== REFERENCES ==
== REFERENCES ==


&quot;User's Guide,&quot; version 5.0, page 642<br />
"User's Guide," version 5.0, page 642<br />
<br />
<br />
&quot;Visual Basic User's Guide,&quot; version 5.0, page 266<br />
"Visual Basic User's Guide," version 5.0, page 266<br />
<br />
<br />
For more information about switching to the version 4.0 menus, choose the Search button in Help and type:
For more information about switching to the version 4.0 menus, choose the Search button in Help and type:

Latest revision as of 09:09, 20 July 2020

Knowledge Base


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:

  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: XL5 XL7 XL

Keywords: kbprb kbprogramming KB106357