'Create button in google sheets to download data range as CSV to specific filepath

Is it possible with google sheets to create a button that will execute a script to download (as CSV) a dynamic data range to a specified google drive location?

Any suggestions appreciated. Regards Rob



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source