jscript之Open an Excel Spreadsheet

  Description

  Demonstration script that opens an existing Excel spreadsheet

  named C:\Scripts\New_users.xls.

  

复制代码 代码如下:

  Set objExcel = CreateObject("Excel.Application")

  Set objWorkbook = objExcel.Workbooks.Open("C:\Scripts\New_users.xls")