Selection.Style property (Word)
Returns or sets the style for the specified object. To set this property, specify the local name of the style, an integer, a WdBuiltinStyle constant, or an object that represents the style. For a list of valid constants, consult the Microsoft Visual Basic Object Browser. Read/write Variant.
Syntax
expression.Style
expression Required. A variable that represents a Selection object.
Remarks
When you return the style for a selection that includes more than one style, only the first character or paragraph style is returned.
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.