S
Sai Krishnakumar
I have been using OWC10.Spreadsheet Analysis Toolpak (correlations,
regressions etc) functions in my code without any problems until now.
The following code snippet returns an error object -
QRS.Cells(k+2,2) = "=XIRR(B1:B" & k+1 & ",A1:A" & k+1 & ")*100"
RPTXR = QRS.Cells(k+2,2).Value
Response.Write TypeName(RPTXR)
I have tried exporting the spreadsheet. The XIRR calculation result appears
correctly in the cell on the excel sheet. Iam just unable to access it from
code.
Does it have something to do with initializing the Toolpak add-in ?? If so
how come other Toolpak functions work fine ? And how do I go about
initializing it using the .Addin method ? (MSKB doesn't show any examples)
regressions etc) functions in my code without any problems until now.
The following code snippet returns an error object -
QRS.Cells(k+2,2) = "=XIRR(B1:B" & k+1 & ",A1:A" & k+1 & ")*100"
RPTXR = QRS.Cells(k+2,2).Value
Response.Write TypeName(RPTXR)
I have tried exporting the spreadsheet. The XIRR calculation result appears
correctly in the cell on the excel sheet. Iam just unable to access it from
code.
Does it have something to do with initializing the Toolpak add-in ?? If so
how come other Toolpak functions work fine ? And how do I go about
initializing it using the .Addin method ? (MSKB doesn't show any examples)