Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the previous paragraph as a Paragraph object.
Syntax
expression.Previous (Count)
expression Required. A variable that represents a 'Paragraph' object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| Count | Optional | Variant | The number of paragraphs by which you want to move back. The default value is 1. |
Return value
Paragraph
Example
This example selects the paragraph that precedes the selection in the active document.
Selection.Previous(Unit:=wdParagraph, Count:=1).Select
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.