using System.IO;
using System.Reflection;
using Excel = Microsoft.Office.Interop.Excel;
using Excel;
using System.Data.OleDb;
using System.Runtime.InteropServices;
 public Excel.Range getRange(int x1, int y1, int x2, int y2)
    {
        Excel.Range range = sheet.get_Range(this.GetAix(x1, y1), this.GetAix(x2, y2));
        return range;
    }    private Missing miss = Missing.Value; //忽略的参数OLENULL 
    public static Missing MissValue = Missing.Value;
    private Excel.Application m_objExcel;//Excel应用程序实例 
    private Excel.Workbooks m_objBooks;//工作表集合 
    private Excel.Workbook m_objBook;//当前操作的工作表 
    private Excel.Worksheet sheet;//当前操作的表格     public Excel.Worksheet CurrentSheet
    {
        get
        {
            return sheet;
        }
        set
        {
            this.sheet = value;
        }
    }    public Excel.Workbooks CurrentWorkBooks
    {
        get
        {
            return this.m_objBooks;
        }
        set
        {
            this.m_objBooks = value;
        }
    }    public Excel.Workbook CurrentWorkBook
    {
        get
        {
            return this.m_objBook;
        }
        set
        {
            this.m_objBook = value;
        }
    }
我本来没有引用Interop.Excel.dll 没有错误,但是现在报错!急等待