Paragraph.Style Property
Word Developer Reference |
Returns or sets the style for the specified object. Read/write Variant.
Syntax
expression.Style
expression Required. A variable that represents a Paragraph object.
Remarks
To set this property, specify the local name of the style, an integer, a WdBuiltinStyle constant, or an object that represents the style.
Example
This example displays the style for each paragraph in the active document.
Visual Basic for Applications |
---|
|
This example sets alternating styles of Heading 3 and Normal for all the paragraphs in the active document.
Visual Basic for Applications |
---|
|
See Also