How to generate range ID hyperlink, #rangeID=XXXXXXXXXX, in Google Sheets using Scripts?

后端 未结 2 1976
时光说笑
时光说笑 2021-02-13 12:37

So recently, Google added the feature where you can hyperlink to a specific cell, which is great. To do so, you use the \"Insert link\" feature on a specific cell, and then from

2条回答
  •  逝去的感伤
    2021-02-13 13:01

    This is a perfect use case for named ranges, and it doesn't require any change to your script logic.

    var range = ss.getRangeByName("NamedRange1");
    

提交回复
热议问题