Import Data into an Excel Spreadsheet from Google Sheet - 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?

Related

Google Sheets -> Excel Power Query Import Failing

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

Diffrence between opening excel file path with or without quotas

I got a recent problem with Excel.
We are working with macros and it is in a Citrix envoirment.
We are filling an Excel sheet with data that works perfectly fine.
But our coworkers have made themself templates which are getting filled.
Now if you choose the template to be filled it is first pretty slow and then actually freezes/crashes.
What I have recognized when you choose the template like \server\folder\template.xls it crashes but if you choose it like "\server\folder\template.xls" it doesnt but the templates seem not to work as their saved macros won't run.
But what else diffrences between those two Options.
Is it really only macros?
As it seems, we had a problem with the excel Installtion.
There was a problem between Excel 2016 32bit, Excel 2016 64bit and Excel 365.
We made a new clear installation with excel 365 and it worked again.
Therefore still thank you for your help and Ideas.

All first worksheets of files created in Excel Online have the same id

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.

Excel is blocking chart

i don't know why but excel 2016 (at PC) is blocking chart in a sheet.
If i open this file on my mobile or even import to google docs charts are still there...
can someone explain me why or help?
excel on pc
excel on mobile phone
Have you tried opening the file in another PC (with another office setup)? Sometimes it happens with corrupted installation. You can try repairing office as well:
https://support.office.com/en-US/Article/Repair-an-Office-application-7821d4b6-7c1d-4205-aa0e-a6b40c5bb88b

Any way te read an excel file from a Google Sheet?

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.

Resources