Skip to content
Advertisement

Tag: google-apps-script

Assign link to HTML button on GAS

UPDATE: Thank you everyone for your help, especially ale13. I have updated the question with the final code that worked for me. I am trying to create a HTML button that pops up within my Google Sheets and on click it should trigger the download of the sheet. I created the button and everything else runs perfectly. When I manually

Var not being used in object.var

What should I be doing differently? At the end, it logs {name={rows=[0.0, 1.0, 2.0, …]}} instead of having an object for each name…? In the sheet there’s just a first name and last name on columns A and B, for around 80 rows. Answer Use the bracket syntax if you want to use dynamic names for properties: https://riptutorial.com/javascript/example/2321/dynamic—variable-property-names In your

Advertisement