简体   繁体   English

如何使用JavaScript读取iqy文件结果表

[英]How to read a iqy file result table with javascript

so I have an IQY file (Internet Query file), it's found locally on my computer. 因此我有一个IQY文件(Internet查询文件),可以在我的计算机上本地找到。 This file when opened in excel will show me a table of a SharePoint list. 在excel中打开时,此文件将向我显示SharePoint列表的表。 I would like to use JavaScript, in IE browser (I can use ActiveXObject if needed) to search the resulted table for a value. 我想在IE浏览器中使用JavaScript(必要时可以使用ActiveXObject)在结果表中搜索值。

I already know how to search in excel, So that's not the problem. 我已经知道如何在excel中搜索,所以这不是问题。 How can I turn this IQY file into an temp excel sheet with JavaScript? 如何使用JavaScript将IQY文件转换为临时excel工作表? If it's not possible, is there a way to read from the table using the IQY file without using excel? 如果不可能,是否有一种方法可以在不使用excel的情况下使用IQY文件从表中进行读取?

I hope my question is understandable. 我希望我的问题是可以理解的。

Thank you. 谢谢。

So I've found a way to overcome this problem. 因此,我找到了一种解决此问题的方法。 In the file data there's an href, that when opened by a browser will display the data in excel format. 在文件数据中有一个href,当被浏览器打开时,它将以excel格式显示数据。 So I've used this data to get the information I needed. 因此,我已使用这些数据来获取所需的信息。

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

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