简体   繁体   中英

Import data from published Google spreadsheet to Excel

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

If you are willing to use an add-in, you can have Excel and Google Sheets stay in synch.

Data Everywhere makes add-ins for Google Sheets and Excel that allows you to sync data between Google Sheets and Excel. You just highlight the data you want to synchronize, and both your Excel spreadsheets and your Google Sheets spreadsheets will always be in sync.

You can get it at Data Everywhere, or from the Google Sheets Add-in store at https://chrome.google.com/webstore/detail/data-everywhere/foenaaepondggfpfonagpmdaggmpdeel?hl=en-US

Unfortunately, this add-on no longer works.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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