Question

I need to call methods from ANALYS32.XLL Excel add-ins for analysis toolpak into mu C# application. Please how can i call methods and pass parameters to it? there is any way to call anova analysis in c# or not??

Était-ce utile?

La solution

I'm not sure whether this will give you all the functions from the Analysis ToolPak, but it might inspire you:

The full set of financial functions from Excel have been implemented in F# - and can easily be called directly from any .NET language. You can download the latest version here: http://code.msdn.microsoft.com/windowsdesktop/Excel-Financial-functions-6afc7d42

Autres conseils

// create new instance of Excel application
xl = CreateObject("Excel.Application")
// load an XLL
 xl.RegisterXLL("analys32.xll") 

from there you should be able to access the functions in the xll via your Excel application object

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top