Google Sheets - export to excel

jerryr0125

New Member
Joined
May 14, 2017
Messages
6
Hi -
Does anyone know of a macro,etc... that would automatically export data from a google sheet into an excel sheet on a google drive ?
Both files would be on the google drive. I would like to have a macro that would on a timely period (say once a day) export the data in a google sheet into an excel sheet.
Thoughts ? Jerry
 

Rijnsent

Well-known Member
Joined
Oct 17, 2005
Messages
1,149
Office Version
365
Platform
Windows
Hi Jerry,
with google sheets you can set up triggers to run a code. Those triggers can be time-sensitive (like daily between 0h and 1h). Having said that, you'd need to dive into Javascript, as that's the language you'd need to program in Google sheets. This bit can get you started: How to convert a Google Docs-File to an Excel-File (XLSX) And if you want to dive into google script: Desktop Liberation has all you need.
Personally, I'm using google script e.g. to scrape data, calling an API and saving that data daily in a directory on my google drive. That works like a charm and it will keep on running versus excel where you'd have to open the file to get the code running.
Cheers,
Koen
 

Forum statistics

Threads
1,081,680
Messages
5,360,506
Members
400,589
Latest member
Mikealphatangoc

Some videos you may like

This Week's Hot Topics

  • VBA (Userform)
    Hi All, I just would like to know why my code isn't working. Here is my VBA code: [CODE=vba]Private Sub OKButton_Click() Dim i As Integer...
  • List box that changes fill color
    Hello, I have gone through so many pages trying to figure this out. I have a 2020 calendar that depending on the day needs to have a certain...
  • Remove duplicates and retain one. Cross-linked cases
    Hi all I ran out of google keywords to use and still couldn't find a reference how to achieve the results of a single count. It would be great if...
  • VBA Copy and Paste With Duplicates
    Hello All, I'm in need of some input. My VBA skills are sub-par at best. I've assembled this code from basic research and it works but is...
  • Macro
    is it possible for a macro to run if the active cell value is different to the value above it
  • IF DATE and TIME
    I currently use this to check if date has passed but i also need to set a time on it too. Is it possible? [CODE=vba]=IF(B:B>TODAY(),"Not...
Top