使用Excel中的VBA从共享团队中读取数据
我使用VBA创建了一个工具,该工具可以从BigQuery中执行多个拉动,并在Excel内部进行了各种转换和摘要。该工具是一种不断发展的工具,为了确保用户使用该工具的最新版本,我想在“共享团队”页面上保存一个版本文件,该文件将检查该工具,如果需要,请下载最新版本在用户文件夹的工具上。我已经擦洗了网络以获取有关此问题的几种解决方案,但实际上没有一个解决方案。以下是我尝试过的解决方案的链接。问题在于,打开文本文件的连接器似乎与团队的URL无法使用。我需要知道如何完成这项工作。任何帮助将不胜感激。
https://wwww.excel-easy。 com/vba/示例/read-data-from-text-file.html
此解决方案似乎不适用于url,因为我遇到了错误的文件名错误。
问题是,由于某些原因显示下载已完成,但实际上是 。
永远不要移动本地 SharePoint通过ADODB
”使用文本文件连接字符串,但在这里也不成功。
再次,另一个坏名称错误。
有关如何连接到简单文本的任何帮助或建议在团队文件夹中共享的文件将不胜感激。
I have created a tool using VBA that performs several pulls from BigQuery and does a variety of transformations and summarization inside of Excel. The tool is an evolving tool and to make sure that the users are using the most current version of the tool, I would like to have a version file saved on the shared Teams page that the tool would check and if needed, download the newest version onto the tool to the user's folder. I have scrubbed the web for several solutions to this ask but not one that actually works. Below are the links to the solutions I have attempted. The issue is that the connectors for opening text files seem to not work with a URL from Teams. I need to know how to make this work. Any help would be greatly appreciated.
https://www.excel-easy.com/vba/examples/read-data-from-text-file.html
This solution doesn't seem to work with a URL as I get a Bad Filename error.
https://chandoo.org/forum/threads/download-file-from-sharepoint-and-save-it-in-system-folder.41779/
Problem with this one is that the download for some reason shows completed but actually never moves local.
Connecting to Excel file stored on SharePoint via ADODB
https://www.connectionstrings.com/textfile/
I attempted to use this solution using the text file connection string but was not successful here either.
Again, another bad name error.
Any help or advice on how to connect to a simple text file shared in a Teams folder would be greatly appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论