Archive for June, 2018

One question I’ve seen fairly regularly is, “How do I copy formatted content from a Visual Studio RichTextBox to a Word document?”

The answer, of course, is, “Use the clipboard.” But behind that is another question: How to put the content in the Clipboard? Read the rest of this entry »

Comments 1 Comment »

My previous post on getting started with Script Lab and the Office JS APIs for Word looked at some similarities between the COM and Word JS API object models, based on the Script Lab Basic API call sample. This time, I’ll highlight the core part of the sample code that differs from working with COM/VBA. Read the rest of this entry »

Comments No Comments »