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
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");