简体   繁体   English

a.iqy 文件有哪些选项?

[英]What are the options for a .iqy file?

I'm trying to understand the options for the.iqy file format.我试图了解 .iqy 文件格式的选项。 I'm trying to use it to feed CSV data from an external web source into Microsoft Excel but I'm not finding any canonical documentation to make sure that I'm doing it right.我正在尝试使用它将来自外部 Web 源的 CSV 数据提供给 Microsoft Excel,但我没有找到任何规范文档来确保我做对了。

Note: I'm doing a Q&A-style post and will be answering my own question.注意:我正在做一个问答式的帖子,并将回答我自己的问题。

Microsoft has very little documentation on their.iqy (or a Excel Web Query - Internet Inquiry) file and nothing about their allowed options or format. Microsoft 几乎没有关于他们的.iqy(或 Excel Web 查询 - Internet 查询)文件的文档,也没有关于他们允许的选项或格式的文档。 This because the.iqy file is normally created from a VBA Web Query output.这是因为 .iqy 文件通常是从 VBA Web 查询输出创建的。 But, if you reference the VBA QueryTable documentation instead and do some translation, you'll find this (simplified here):但是,如果您改为参考 VBA QueryTable 文档并进行一些翻译,您会发现这个(此处已简化):

.iqy Options .iqy 选项 VBA Web Query Options VBA Web 查询选项 Type类型 .iqy Values .iqy 值 Default Value默认值
ConsecutiveDelimitersAsOne连续分隔符作为一个 WebConsecutiveDelimitersAsOne WebConsecutiveDelimitersAsOne Boolean布尔值 True/False真假 False错误的
DisableDateRecognition禁用日期识别 WebDisableDateRecognition Web 禁用日期识别 Boolean布尔值 True/False真假 False错误的
DisableRedirections禁用重定向 WebDisableRedirections Web 禁用重定向 Boolean布尔值 True/False真假 False错误的
Formatting格式化 WebFormatting 网络格式化 List列表 All (1), RFT (2), None (3)所有 (1)、RFT (2)、无 (3) RFT RFT
PreFormattedTextToColumns预格式化文本到列 WebPreFormattedTextToColumns WebPreFormattedTextToColumns Boolean布尔值 True/False真假 True真的
Selection选择 WebSelectionType Web选择类型 List列表 EntirePage (1), AllTables (2), SpecifiedTables (3) EntirePage (1)、AllTables (2)、SpecifiedTables (3) AllTables所有表
SingleBlockTextImport单块文本导入 WebSingleBlockTextImport WebSingleBlockTextImport Boolean布尔值 True/False真假 False错误的

Note: There are other.iqy options like SharePointApplication but aren't prefixed with "Web" and therefore weren't added to this list.注意:还有其他 .iqy 选项,例如SharePointApplication ,但没有以“Web”为前缀,因此未添加到此列表中。 You can find the rest of them under Properties .您可以在Properties下找到它们的其余部分。

An example Web.iqy file is formatted in this style:示例 Web.iqy 文件格式为以下样式:

WEB
1
https://www.example.com/file.csv

Selection=1
Formatting=None
PreFormattedTextToColumns=True
ConsecutiveDelimitersAsOne=True
SingleBlockTextImport=False
DisableDateRecognition=False
DisableRedirections=False

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

相关问题 Excel IQY文件-用法选项问题 - Excel IQY file - Usage Option question 如何将.iqy 文件加载到 excel 作为数据源 - How to load .iqy file into excel as datasource 如何使用JavaScript读取iqy文件结果表 - How to read a iqy file result table with javascript 如何在不提示输入目的地的情况下打开 IQY 文件? - How can I open an IQY file without being prompted for a destination? 如何在c#中创建一个xml文件,以便与作为数据表导入的.iqy一起使用 - How to make an xml file in c# for use with .iqy which imports as a datatable 加载 Excel 文件的强制性选项是什么? - What are the mandatory options for loading Excel file? 用python合并iqy文件 - Merging iqy files with python 昨天在 Excel 打开了 a.iqy 文件,现在每次我尝试打开一个新工作簿时,Excel 都会尝试打开这个文件 - Opened up a .iqy file yesterday in Excel, now every time I try to open a new workbook, Excel tries to open up this file 如何编辑 BigQuery Connector for Excel .iqy 文件以在其中包含 SQL 语句,而不是依赖于 Excel 单元格的输入? - How do I edit the BigQuery Connector for Excel .iqy file to have the SQL statement already in it instead of relying on input from an Excel cell? Powershell IQY转储脚本失败 - powershell IQY dump script fails
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM