日期:2014-05-17 浏览次数:20720 次
Excel.Application appExcel = new Excel.Application();
Excel.Workbook workBook;
Excel.Worksheet workSheet;
workBook = appExcel.Workbooks.Open(path, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value);
workBook.Save();//这句
using Microsoft.Office.Interop;
using Excel = Microsoft.Office.Interop.Excel;