

Hope you liked this hidden Google Sheet and Excel tips. Now copy the data and paste it directly into Google Sheets. This will enable the formula view in Excel. gidString specifies which tab on the Google Sheet that you want to pull the data from. To copy data from Excel to Google Sheets with Formulas, use the keyboard shortcut Ctrl+ in Excel. keyString specifies the specific Google Sheet you want to pull data from. You only need to change the keyString and gidString values in the below code. Use the below code to import all rows into Excel. The original code above from Peh will only import the first 100 rows of data from the Google Sheet. I also tried to edit the Data Source Settings in the Edit Permissions window for using my windows credentials, but I had no luck.

About the security settings, I cannot log in into a google account directly, my company computer is set to log into everything you need inside with the Windows ID and password.

I want to have all the information coming into this Google Sheet connected to an Excel sheet to auto populate where I can work with this data more easily without copy pasting it into Excel. I am trying to import data from Google Sheets into Excel but I think the problem is with the security settings in my computer.Īlready tried to create a new query > from other sources > from web and changing the shared link with but it's not showing me any informationĪlso tried to run a macro but it's not retrieving me any information Sub Import_Data()Ī(Connection:=conn, Destination:=Range("$A$1"))
