The information in this article applies to:
SYMPTOMSIn Microsoft Excel, when you use one of the Analysis ToolPak worksheet functions, you may receive one of the following error messages: -or-
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. EDATE()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 this behavior also occurs if you use the FunctionWizard to insert the function. WORKAROUNDTo avoid receiving these error messages when you use one of the Analysis ToolPak worksheet functions, use either of the following methods: Method 1Move the Visual Basic module that references the Analysis ToolPak-Visual Basic for Applications file to another workbook that does not contain a worksheet that uses an Analysis ToolPak worksheet function.Method 2Clear the Analysis ToolPak check box in the Add-Ins dialog box and restart Microsoft Excel. To do this, use the following steps:
STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available. Additional query words: addins atp err msg toolpack
Keywords : kbtool xlmac |
Last Reviewed: September 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |