OWC11 ATP C#

H

HD66

i there,

can someone please help me with the following: I would like to use the
Analysis Toolpak add-in together with OWC 11.
I have two objects on my website through the following:

<object id = 'excel' classid = 'CLSID:0002E559-0000-0000-C000-000000000046'>
<param name="XMLData" value='<%= SSxml %>' />

<object id="atp"
classid="CLSID:3F98D457-551B-48C5-BDE8-7FDECCD5AFA5">
</object>

The spreadsheet class is working fine, I can load a xml spreadsheet in C# by
"xlsheet.XMLURL = MapPath("../XML/file.xml");"

I have added a reference to the ATP.dll of OWC11, and it 's showing up as
Interop.ATP2.dll

Somehow I can't get it attached to the loaded spreadsheet, whatever I do the
functions referenced give a #NAME error.

Does anybody have a sample how to load this toolpak in C#?

Thanks in advance, kind regards,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top