The information in this article applies to:
SUMMARY
Although Microsoft does not recommend it, it is possible to install and use
more than one version of Microsoft Excel on the same computer. For
example, you can install and use both Microsoft Excel 2000 and Microsoft
Excel 97 on the same computer.
MORE INFORMATIONOrder of InstallationIf you want to install and use more than one version of Excel on the same computer, you must install the versions of Excel in ascending order.For example, if you want to use both Excel 7.0 and Excel 2000 on the same computer, you must install Excel 7.0 first, and then Excel 2000. This is necessary because of the way registry keys, shared programs, file extensions and other settings are managed for each version of Excel. The following table shows the order in which you should install the versions of Excel:
The rest of this article assumes that you installed the versions of Excel in this correct order. Running Multiple Versions of Microsoft Excel SimultaneouslyAlthough it is possible to run more than one version of Excel simultaneously on the same computer, Microsoft strongly recommends that you avoid doing this. For example, if you want to start Excel 97, first quit all other versions of Microsoft Excel that may be running.Double-Clicking Files in the Windows ExplorerWhen you double-click a Microsoft Excel workbook (.xls) file, chart (.xlc) file, or add-in (.xla) file in Windows Explorer, the following rules apply:
See the "Reassociating Microsoft Excel Files" section for more information about this behavior. If you double-click a file that is not supported by the version of Excel that is already running or that automatically starts, you receive the following error message: If you receive this error message, start the later version of Excel. Then, open the file by double-clicking it in Windows Explorer or by using the Open dialog box (click Open on the File menu). Reassociating Microsoft Excel FilesWhen you start Excel 5.0, Microsoft Excel files (.xls, .xlc, and .xla files) are automatically associated with it.When you start them, Excel 7.0, Excel 97, and Excel 2000 are not automatically associated with Microsoft Excel files; they perform this task only when you install these programs. Because of this difference in behavior, if you start Excel 5.0, an Excel file that you double-click is always opened in Excel 5.0, unless another version of Excel is already running. If you want to double-click a file and open it in a newer version of Excel, you can associate Excel files with Microsoft Excel 7.0, 97, or 2000 by using either of the following methods. Method 1: Reregister Excel Using SetupIn Microsoft Excel 2000, run Setup and click Repair Office.In Excel 7.0 or 97, run Setup using the /y switch. Using /y instructs the Setup program to register all of the registry keys that are used by Microsoft Excel and to associate Microsoft Excel files with the version of Microsoft Excel that you are installing. Method 2: Reregister the File TypesUse the File Types tab in the Options dialog box to associate Microsoft Excel files with Microsoft Excel 7.0, 97 or 2000. To do this, follow these steps:
Inserting Microsoft Excel Objects into Other ProgramsIf you install multiple versions of Microsoft Excel on a single computer and you insert a Microsoft Excel Worksheet object into another program (for example, Microsoft Word), the most recently installed version of Microsoft Excel is used when you insert the worksheet object.For example, if you install the following programs on your computer
and then insert a Microsoft Excel Worksheet object into Microsoft Word, a Microsoft Excel 2000 worksheet is added. Using Automation to Control Microsoft ExcelIf you install multiple versions of Microsoft Excel on a computer, you may experience difficulty when you attempt to use Automation to control a specific version of Microsoft Excel.For example, if you run the following Visual Basic for Applications subroutine in Microsoft Word 97
the subroutine always creates an Automation session in the version of Microsoft Excel that you most recently installed. So, if you install both Microsoft Excel 97 and Microsoft Excel 2000 on the same computer, the message box in the example displays 9.0, the version number of Microsoft Excel 2000. If you want to control a specific version of Microsoft Excel using Automation, you use the class names that are listed in the following table.
NOTE: Because Microsoft Excel 5.0 and 7.0 both use the same class name, when both are installed on the same computer, Excel.Application.5 always applies to Microsoft Excel 7.0. There is no way to prevent this behavior. However, Microsoft Excel 5.0 and 7.0 both use the same file format and offer very similar features so you should be able to use Microsoft Excel 7.0 instead of Microsoft Excel 5.0 without side effects. Shared ProgramsYou should not experience any problems when you use shared programs, such as Microsoft Equation Editor and Clip Gallery, with any version of Microsoft Excel. Note that the Object dialog box may display more than one entry for each shared program; this behavior occurs because there may be multiple versions of the shared program on the computer.Additional query words: XL97 XL7 XL5 ole automation XL2000
Keywords : kbprg xlui xlvbainfo kbhowto |
Last Reviewed: May 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |