Error accessing Excel COM objects from IronPython

  • Thread starter Thomas P. Boesen
  • Start date
T

Thomas P. Boesen

Hi,

I'm developing an Excel add-in using C#. I'm using interop assemblies
generated for Office 2000, since it must be backwards compatible.

I use IronPython for some custom features and for regression testing. This
works fine on Office 2003 and earlier versions, but when I try to access the
COM objects from Office 2007, I get the following exception:

Could not load type 'Excel._Application' from assembly 'Excel,
Version=1.6.0.0, Culture=neutral, PublicKeyToken=null'.

Do anyone have an idea why this happens? And what to do about it?

Thanks!
Thomas
 

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