I\'ve a script attached to a spreadsheet which amongst other things creates links to the worksheets in another spreadsheet.
I\'ve used newRichTextValue()
newRichTextValue()