我以前也碰到过这个问题。
你试一试下面的方法:
1 安装excel2003的.net可编程性支持。安装的时候,选择自定义安装,其中有这个项目。
2 查找到Interop.dll或者Interop.Excel.dll,手工添加对他的引用。

解决方案 »

  1.   

    using System.Globalization; 
    using System;
    using System.Drawing;
    using System.Collections;
    using System.ComponentModel;
    using System.Windows.Forms;
    using System.Data;
    using System.Reflection; // For Missing.Value and BindingFlags
    using System.Runtime.InteropServices; 
    using Excel;
    using System;
    using System.IO;
    using System.Collections;
    using System.Threading;
    using Office = Microsoft.Office.Core;
    using System.Diagnostics;
    先添加引用,我用的是IDE环境中用MOUSE点的,并不是在代码中手敲,没有问题。
      

  2.   

    http://community.csdn.net/Expert/topic/5066/5066913.xml?temp=.2579004