Example 1

Here's the VBScript that writes the text to the document: