1

I have to download current Active Spreadsheet to my local drive using google script. Any script example to show how can I accomplish the same? I am able to get the file download URL in html pop up but that's not the goal what I want is download happens automatically and file is save to machine local drive.

  • Try posting some code showing what you have already attempted. You are more likely to get better answers. – ste-fu May 19 '17 at 10:53

1 Answers1

0

You'll be using the downloadAsFile(filename) method to save the spreadsheet to your local machine.

You can check the code implementation in this SO post and this post.

Community
  • 1
  • 1
ReyAnthonyRenacia
  • 17,219
  • 5
  • 37
  • 56