Home  >  Article  >  Web Front-end  >  jscript Open an Excel Spreadsheet_javascript skills

jscript Open an Excel Spreadsheet_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:12:291018browse

Description

Demonstration script that opens an existing Excel spreadsheet 
named C:ScriptsNew_users.xls. 

复制代码 代码如下:

Set objExcel = CreateObject("Excel.Application")
Set objWorkbook = objExcel.Workbooks.Open("C:ScriptsNew_users.xls")

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn