
Macro to insert text or document into active document
Hi Steu,
If you add a bookmark to your document, you can use a command like:
ActiveDocument.Bookmarks("NameOfBookmark").Range.Text = "My new line"
If you want to write at the cursorposition, use:
Selection.Range.Text = "My new line"
For many examples check the macro FAQ's at www.mvps.org/word
Hope this helps,
regards,
Astrid
So that all can benefit from the discussion, please post all follow-ups to
the newsgroup.
Visit the MVP Word FAQ site at http://www.mvps.org/word/
I am looking for help on learning a macro that will allow me to insert a
document
(or text) into the active document. Do you know where I can go for tutorial
or
example?
Thanks!
Steu