且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将已发布Google电子表格中的数据导入Excel

更新时间:2022-10-31 11:25:38

您可以在Google表格中选择发布为CSV文件

然后在Excel中使用Data - > import FROM TEXT(不是来自web)



google sheet csv file



这应该读取并识别文件,您需要配置标题,逗号作为分隔符,格式等。
$ b

然后,最后一个它已经被导入,如果你去数据 - >连接,你可以改变刷新时间等。


I am trying to import data into an Excel spreadsheet from a published Google sheet. I have published the Google sheet and copied the URL.

When I try and use that URL in my Excel spreadsheet, either with VB code or by standard Data Get External data From Web it asks me to log-in to Google. How can I get the data without having to log-in.

You can select in Google Sheets to publish as a CSV file

Then in excel use Data -> import FROM TEXT (not from web)

Paste in the link to the google sheets csv file

This should read and recognise the file, you will need to configure headers, and the Comma as the separator, format etc

Then finally one it has been imported if you go to Data -> connections you can change refresh times etc