Microsoft KB Archive/91626

{| = Excel: Version 4.0 SDK Instructions for Installation =
 * width="100%"|

Last reviewed: January 15, 1996

Article ID: Q91626 The information in this article applies to:


 * Microsoft Excel Software Development Kit, version 4.0
 * Microsoft Excel for Windows, version 4.0

SUMMARY
There are two steps to a PC installation of the Microsoft Excel 4.0 Software Development Kit (SDK). First, the Microsoft Excel SDK files are copied from the Microsoft Excel SDK installation disk to a hard disk. Second, some configuration must be done so the necessary files can be located by the compiler and linker when they are used. An example Microsoft Excel SDK installation is described in this article.

Installation of Microsoft Excel SDK Files
To copy the entire contents of the Microsoft Excel SDK to a hard disk, type the following MS-DOS commands:

MD   C:\EXCELSDK              ;  make a directory XCOPY A:*.* C:\EXCELSDK /s/e  ;  copy all files and sub- directories. This copies the entire contents of the Microsoft Excel SDK installation disk to a directory on C: called EXCELSDK. The command line switch /s tells the MS-DOS XCOPY command to copy all directories and their subdirectories; the switch /e tells XCOPY to copy the subdirectories even if they are empty. Note that any name can be chosen for this directory.

Configuration of the MS-DOS Environment
One way to make the compiler and linker aware of the Microsoft Excel SDK files is to modify MS-DOS environment variables. Specifically, the location of the Microsoft Excel SDK INCLUDE directory is appended to the INCLUDE environment variable, and the location of the LIB directory is appended to the LIB environment variable. This can usually be done by editing the AUTOEXEC.BAT file. Below is an example of type environment variables in the AUTOEXEC.BAT file, and how to modify them.

AUTOEXEC.BAT before modification:

SET LIB    = C:\C700\LIB SET INCLUDE = C:\C700\INCLUDE AUTOEXEC.BAT after modification: SET LIB    = C:\C700\LIB;C:\EXCELSDK\LIB SET INCLUDE = C:\C700\INCLUDE;C:\EXCELSDK\INCLUDE These two steps demonstrate one method of installation for the Microsoft Excel SDK. For more information on installation, see page 3 of the Microsoft Excel SDK &quot;User's Guide.&quot; For additional information, please see the following article(s) in the Microsoft Knowledge Base:

ARTICLE-ID: Q91624 TITLE    : Excel: Version 4.0 SDK Overview