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:
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 failedFor this example to work correctly it should read as follows:
AddIns("Analysis ToolPak").Installed = True
REFERENCES"Visual Basic User's Guide," version 5.0, page 278 Microsoft Press "Microsoft Excel 5 Visual Basic for Applications Reference," page 339
|
|
KBCategory: kbtool kbdocerr
©1997 Microsoft Corporation. All rights reserved. Legal Notices. |