office XP addin pbs with excel

M

maitrepoy

I'm developping an office XP addin with the XP PIA, but I have a problem with excel:
when I try to apply some methods or to get some properties from the ActiveWorkbook, I catch this Exception:
Old format or invalid type library.
the methods which give me some problems are:

appli.ActiveWorkbook.save()
appli.ActiveWorkbook.[readonly]
appli.ActiveWorkbook.saved

I'd like to add that the same methods applied on ActiveDocument for word or on ActivePresentation for Powerpoint don't catch any exception and it properly works.
On top of that other methods just like: appli.ActiveWorkbook.Name or others properly work on the same object.

if someone could help me, I would be most grateful.
Thanks in advance.
 

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