That isn't possible because strings only contain text, not formatting. That is why the Range object contains two properties, Text, a string with no formatting, and FormattedText, which does as its name suggests.
To apply a character style you need to insert the text into the document, then apply the style.
|