摘要:
Js操作Excel常用方法1.创建一个新Excel表格var XLObj = new ActiveXObject("Excel.Application");var xlBook = XLObj.Workbooks.Add;//新增工作簿var ExcelSheet = xlBook.Worksheets(1);//创建工作表2.保存表格ExcelSheet.SaveAs("C:\\TEST.XLS");3.使Excel通过Application对象可见ExcelSheet.Application.Visible = true;4.打印xlBook.Pri
阅读全文
posted @ 2011-08-16 20:47
GO-NET
阅读(27399)
推荐(4)
编辑