摘要:
首先要引用microsoft excel 11.0 object library然后将编写以下代码: Set objExcel = CreateObject("Excel.Application") objExcel.Workbooks.Add Set objSheet = objExcel.Workbooks(1).Worksheets(1)'指定工作表为sheet1 objExcel.Worksheets.Add objExcel.Workbooks(1).Worksheets(1).Name = "ssssssss"新建一个工作表,并设置其 阅读全文