From dePoPo.net

Word/VBA - How to write to the current document

Posted in: VB6 / VBA
By dePoPo
Jul 15, 2009 - 5:03:55 PM

The code snippet below outputs text at the cursor location of the current document in a Word macro.

Selection.TypeText ("Text line 1" &  vbCr & "Text line 2" & vbCr)

© Copyright 2010 by dePoPo.net