实例如下: private bool creatExcel(string xlsfile) { try { object missing = System.Reflection.Missing.Value; Excel.ApplicationClass myExcel = new Excel.ApplicationClass(); Excel._Workbook xBk; //工作薄 Excel._Worksheet xSt; //工作Sheet xBk =