jscript之Open an Excel Spreadsheet
发布时间:2016-12-30 来源:查字典编辑
摘要:DescriptionDemonstrationscriptthatopensanexistingExcelspreadsheetnamed...
Description
DemonstrationscriptthatopensanexistingExcelspreadsheet
namedC:ScriptsNew_users.xls.
复制代码 代码如下:
SetobjExcel=CreateObject("Excel.Application")
SetobjWorkbook=objExcel.Workbooks.Open("C:ScriptsNew_users.xls")