1,说明: 先添加COM对像的引用:右击References => Add Reference => COM => 填加Microsoft Excel 11.0 Object Library 2,程序示例: using System.Data;using Excel = Microsoft.Office.Interop.Excel;//为方便程序引用,起Excel为别名namespace TEST} 相关文章: