摘要: 首先要引用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"新建一个工作表,并设置其 阅读全文
posted @ 2012-07-26 18:45 superfans98 阅读(1883) 评论(0) 推荐(0) 编辑