VBA - Inserting Paragraphs
You can use any of the following methods to add new paragraphs to a document:
Paragraphs.Add
Adds a new paragraph before the first paragraph in the current selection
Range.InsertParagraph
This replaces the specified range or selection with a new paragraph.
If you do not want to replace the range or selection you should collapse the range or selection first.
This is equivalent to the following:
After this method has been called the oRange object represents the new paragraph.
This inserts a new paragraph at the beginning of the active document.
This inserts a new paragraph at the end of the active document.
Range.InsertParagraphAfter
This inserts a new paragraph after the specified range or selection
After this method has been called the specified range or selection is expanded to include the new paragraph.
This inserts a paragraph at the end of the active document
Range.InsertParagraphBefore
This inserts a new paragraph before the specified range or selection
This line is identical to the following line
© 2026 Better Solutions Limited. All Rights Reserved. © 2026 Better Solutions Limited TopPrevNext