Microsoft KB Archive/124306

= Microsoft Knowledge Base =

XL5: Installed Property Example in Help Is Incorrect
Last reviewed: September 12, 1996

Article ID: Q124306

The information in this article applies to:


 * Microsoft Excel for Windows, versions 5.0, 5.0c
 * Microsoft Excel for Macintosh, version 5.0
 * Microsoft Excel for Windows NT, version 5.0

In Microsoft Excel Help, the topic for the Installed Property states the following:

AddIns("Analysis Tools").Installed = True This code is supposed to install the Analysis ToolPak. However, because "Analysis Tools" is not the correct name for the Analysis ToolPak add-in, running the example will return the following error message:

Run-time error '1004': Addins method of Application class failed For this example to work correctly it should read as follows:

AddIns("Analysis ToolPak").Installed = True