简体   繁体   English

使用VBScript从客户端浏览器中的服务器打开Excel

[英]Open Excel from server in client's browser using VBScript

Requirement: To open an Excel file at client side, which is stored in the Server. 要求:在客户端打开Excel文件,该文件存储在服务器中。

I am trying to open an Excel file using VBScript. 我正在尝试使用VBScript打开Excel文件。 The actual file resides on the server, but the user must have the access to make a copy of that file in his local machine. 实际文件驻留在服务器上,但用户必须有权在本地计算机上制作该文件的副本。

Any help would be GREATLY appreciated. 任何帮助将不胜感激。

Thanks, Muthu ,谢谢,Muthu

Create a link to the file 创建指向该文件的链接

<a href="exceldoc.xls">Download here</a>

Place the above code in your html page. 将上面的代码放在您的html页面中。 Then when the user clicks this link they will be able to save or open the file. 然后,当用户单击此链接时,他们将能够保存或打开该文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM