Excel: Version 4.0 SDK Instructions for Installation

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.

MORE INFORMATION

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 "User's Guide."

For additional information, please see the following article(s) in the Microsoft Knowledge Base:

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

REFERENCES

"Microsoft Excel SDK User's Guide," version 4.0, page 3


KBCategory: kbusage
KBSubcategory:

Additional reference words: 4.0 4.00


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: January 15, 1996
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.