The information in this article applies to:
SYMPTOMS
In Microsoft Excel, when you use one of the Analysis ToolPak worksheet
functions, one of the following occurs:
CAUSE
These symptoms occur if the workbook that contains the function also
contains a module sheet that references the Analysis ToolPak -- Visual
Basic for Applications add-in file, ATPVBAEN.XLA.
You receive the run-time error '1004' if the Analysis ToolPak-Visual Basic for Applications add-in is also loaded (selected in the Add-ins dialog box). If the Analysis ToolPak-Visual Basic for Applications is not loaded, you receive the run-time error '1006.' Note that the functions IMSUM() and NOMINAL() return the #VALUE! error value if the Analysis ToolPak--VBA add-in is not loaded. The following functions return the #VALUE! error value whether the Analysis ToolPak-Visual Basic for Applications add-in is loaded or not:
Note that this behavior also occurs if you use the FunctionWizard to insert the function. WORKAROUND
To avoid receiving these error messages when you use one of the
Analysis ToolPak worksheet functions, include the reference to the
add-in file with the function name as in the following examples:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. This problem was corrected in Microsoft Excel for Windows version 5.0c. MORE INFORMATION
For additional information, please see the following article(s) in the
Microsoft Knowledge Base:
Additional query words: addins atp err msg toolpack
Keywords : xlwin |
Last Reviewed: April 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |