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.
Related
I would like to prevent normal users (not determined hackers) from copying an Excel spreadsheet to Google Sheets and then then using the Google version. I know I can't prevent users from copying the file, but I wonder if there are things I can do to make some features of the copied spreadsheet unusable with Google Sheets. I need a solution for this because my subscription mechanism depends on preventing the user from editing certain cells, and if the user copies the file to Google Sheets, he will be able to edit those cells (since Google Sheets does not respect Excel's cell protection).
I know that Google Sheets does not import Excel macros. So one approach might be to create macros (which I don't really need) and then tie some features to those macros, thus preventing the Google version from working. Or maybe I could use some obscure Excel function that Google doesn't support. Can anyone comment on these approaches or suggest other possibilities?
I need to convert a Microsoft Excel spreadsheet to a google spreadsheet, but the Excel sheet is made by linking to external data, which I have no access to. The values are still visible on the Excel sheet. When I import the Excel sheet to google drive and convert to a google spreadsheet, all values are '#REF!' because it can't of course find the source of the data. I can copy/paste the values from Excel to a new google spreadsheet, but that destroys the formatting. So is there a way to copy format and values from an Excel sheet to google spreadsheet, preferably with google apps script so that I can automate it. (it has to be done on a daily basis)
You should use Excel itself, to replace the formula linked values with plain values first. You can then import that excel file into google drive if required. Here's a link from Microsoft showing you how to do it: replace formula with values
I'm importing a Sheet from Google Sheets to Excel using in Google Sheets option to Publish in Internet. Then in Excel I use Get data from the Web. I copy link from the Google Sheets. And everything works but there are no UTF-8 symbols. There are things like this:
€óąśłżźće
How can I change it to work properly?
in my organization we work with Google Apps but we have one file that we need to maintain in Excel due to its complexity. All my other spreadsheets are Google Sheets and a lot of them need to get data from that excel file. So my question is: is there a way either trough google scripts or excel publishing to get data from an excel file in Google Drive to a Google Sheet?
I know all about the other direction, Google to Excel, but Excel to Google is proven more complicated. Any help would be much appreciated.
im giving you an algorithmic-level answer without code because you also have none.
with apps script you can import the xls to drive as a new spreadsheet at regular intervals. then, copy its contents to a fixed spreadsheet (replacing previous content).
other spreadsheets can read from that fixed sprradaheet with scripts/importrange etc.
Can Excel retrieve data from a Google Spreadsheet? When I open Excel file.. some fields in it need information from a Google Excel spreadsheet.
Thanks!
Yes, it's possible to do this in a basic way without doing any programming:
Ensure your Google Spreadsheet has been "Published to Web"
In Excel, go to the Data tab and choose to create a new web query "From Web" − paste the link that would have been copied to your clipboard when you published Google's sheet
Your Google sheet will now appear inside Excel.
First set the google sheet to "anyone with link can edit". Then download the google sheet as .xlsx. Copy the url of the download, paste it in Excel's get data from Web module. Tada!