Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I've read some posts in this forum to open Excel from C# and most of them have this :

using Microsoft.Office.Interop.Excel;

 

i only have "Microsoft.Office" or "Microsoft.Office.Core", is this caused from the different version of the com references?

Posted
i uninstalled my english version of Office 2003 and installed the german one and now i have Microsoft.Office.Interop.Excel too like all others ^^;;
Posted
Make a reference to Microsoft Excel 10.0 Object Library (number is dependant on the version installed). This will give you the ability to receive the "Microsoft.Office.Interop.Excel" reference.

Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.

-- Rick Cook, The Wizardry Compiled

  • 4 years later...
Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...