Answers for "RichText URL in cell apps script"

0

RichText URL in cell apps script

//OnlyCurrentDoc

function linkCellContents() {
 var range = SpreadsheetApp.getActive().getRange("Link!A2");
 var richValue = SpreadsheetApp.newRichTextValue()
   .setText("More information")
   .setLinkUrl("https://example.com")
   .build();
 range.setRichTextValue(richValue);
}
Posted by: Guest on October-20-2021

Code answers related to "RichText URL in cell apps script"

Browse Popular Code Answers by Language