Add Method (Paragraphs Collection)
Applies To
Paragraphs collection object.
Description
Adds a new, blank paragraph to a document.
Syntax
expression.Add(Range)
expression Required. An expression that returns a Paragraphs object.
Range Optional Variant. The range before which you want the new paragraph to be added. The new paragraph doesn't replace the range.
Remarks
If Range isn't specified, the new paragraph is added after the selection or range or at the end of the document, depending on expression.
See Also
InsertParagraph method, InsertParagraphAfter method, InsertParagraphBefore method.
Example
This example adds a paragraph after the selection.
Selection.Paragraphs.Add
This example adds a paragraph mark before the first paragraph in the selection.
Selection.Paragraphs.Add Range:=Selection.Paragraphs(1).Range
This example adds a paragraph mark before the second paragraph in the active document.
ActiveDocument.Paragraphs.Add Range:=ActiveDocument.Paragraphs(2).Range
This example adds a new paragraph mark at the end of the active document.
ActiveDocument.Paragraphs.Add