How to Print sheet/range using .gs script in Google Sheets?

前端 未结 2 1300
不思量自难忘°
不思量自难忘° 2020-12-22 09:09

I am trying to create a script in Google Sheets that select a range and print it. I am trying to print some information based on some parameters. I have the following script

2条回答
  •  无人及你
    2020-12-22 09:27

    I stumbled on your code quite by chance from an "unallowed question to stack overflow which actually seems to be exactly what I want - could not get any detail on how to print from App Script for sheets.

    I have been trying it out but it falls over at the line in your sample "var htmlTemplate = HtmlService.createTemplateFromFile('js');" where the service cannot find 'js'. Afraid I do not understand what an html template is anyway - are you able to explain?

提交回复
热议问题