I have a workbook that's been working perfectly for months. It fetches data from a google sheet using Power Query, imports it into Excel where some manipulation takes place. This week it has started simply importing the raw XML from Google sheets and it broke my whole spreadsheet.
The Google Sheets Data is published to this URL:https://docs.google.com/spreadsheets/d/e/2PACX-1vSKZgwPTi5cHOQEIREZSt6DT5j10jV8YGM_qNpQKibA_3bqG0WTmhgBf5qpEGQtVZbZtyG0qjz17QuK/pub?gid=0&single=true&output=csv
When I import it into Excel is simply shows as this:
Found this solution in Google forum, worked for me:
"I went to share and changed the permissions to anyone with the link can edit and now my publish to web excel file is working again", posted by User 9796698160247565283
Here's the thread: https://support.google.com/docs/thread/83654137?hl=en
Related
I've got a Google Sheet that has product info, including links to images for each item that's saved to our Google Drive.
Here's a sample Sheet.
The images are also shown on the Google Sheet. This allows people to see the items when they're using the Sheet, and also they can print to PDF or whatever.
If it matters, the way we're showing the images is by using GS's "Image" function with a link to the file.
However, some people have use cases where they want to export/save this info to an Excel file, but they still want the images shown.
Is there any way to do this with Google Apps Script or any other method? I've already done some research and couldn't find a lot of info on this.
I understand what is going on now. I tested your file in an online excel viewer. The issue you are having is that your images are not pasted into the Google sheet. They are being fetched from Google Drive using the URL of the image in Drive and the formula:IMAGE(URL). Excel does not have that IMAGE formula. So it gives you #NAME? error,because it can't understand the formula.
I reccommend you go through this answer for how to replicate the IMAGE() function from Google Sheets in Excel.
I have a Google Form which is populating a Google Sheet. Then this Google Sheet I need to be able to connect to an Excel Spreadsheet. I have been able to use the 'publish on web' method with the .csv file format. This works great for me. I am running a Office 365 so I have the most recent tools available to me.
The problem I am running into is that the Mac version of Excel does not offer this same connection capability. Roughly half of my users have a Mac and so the file is not working for them as a result. So as a result I have not been able to find a way to get the data from the Google Sheet into Excel.
This is key because this file is used by many individuals and the data to be imported is critical to enabling the solution. The following line of code is the line that is causing the problem. It basically is lock up Excel.
Sheets("Security").Range("tbl_Licensing").ListObject.QueryTable.Refresh BackgroundQuery:=False
Any ideas as to how I can make this work for a Mac and PC in the same manner?
In my Excel Add-in, developed using the JavaScript API for Office, I need to store some information related to worksheets.
I use the worksheet's id using the Excel.Worksheet.id property. This works fine in Excel 16 for Mac.
However, when I create a new file in Excel Online, the first worksheet has always id {00000000-0001-0000-0000-000000000000}. Is this expected behavior or should I file a bug report? Any suggestions on how I can get a unique identifier for any worksheet in all Excel platforms and versions that support the JavaScript API?
(Note that if I create additional worksheets in Excel Online, they correctly get random GUID ids.)
Tiago, I tried this code snippet in Script Lab (http://aka.ms/scriptlab): https://gist.github.com/jakobpn/6bc71cc2be011032ee9e88c2a9732637 in Excel Online. The "Add worksheet" function logs a worksheet id in the console that is different from {00000000-0001-0000-0000-000000000000}.
Maybe you can share a code snippet that can reproduce a new worksheet with an id that is {00000000-0001-0000-0000-000000000000}. If you can reproduce, please file an issue in the office-js repo https://github.com/officedev/office-js/issues.
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.
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.