Paragraphs.Add Method

Returns a Paragraph object that represents a new, blank paragraph added to a document.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Function Add ( _
    ByRef Range As Object _
) As Paragraph
'Usage
Dim instance As Paragraphs
Dim Range As Object
Dim returnValue As Paragraph

returnValue = instance.Add(Range)
Paragraph Add(
    ref Object Range
)

Parameters

  • Range
    Type: System.Object%
    Optional Object. The range before which you want the new paragraph to be added. The new paragraph doesn't replace the range.

Return Value

Type: Microsoft.Office.Interop.Word.Paragraph

Remarks

If Range isn't specified, the new paragraph is added after the selection or range or at the end of the document.

See Also

Reference

Paragraphs Interface

Paragraphs Members

Microsoft.Office.Interop.Word Namespace