MXL5: Run-Time Error '1004' or '1006' Using ATP Function |
In Microsoft Excel, when you use one of the Analysis ToolPak worksheet functions, you may receive one of the following error messages:
-or-Run-time error '1004':
Run Method of Application class failed
Run-time error '1006':
Unable to get the ThisWorkbook property of the Application class
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.
The error messages occur when you use one of the following worksheet
functions:
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.'
EOMONTH()
IMSUM()
NOMINAL()
TBILLEQ()
TBILLPRICE()
TBILLYIELD()
GCD()
LCM()
MULTINOMIAL()
IMPRODUCT()
CUMIPMT()
CUMPRINC()
BESSELI()
BESSELJ()
BESSELK()
BESSELY()
To avoid receiving these error messages when you use one of the Analysis ToolPak worksheet functions, use either of the following methods:
Microsoft 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
Version : MACINTOSH: 5.0, 5.0a
Platform : MACINTOSH
Issue type : kbbug
Technology :
|
Last Reviewed: September 21, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |