Selection.Style Property (Word)

Published: July 16, 2012

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.

expression .Style

expression Required. A variable that represents a Selection object.

When you return the style for a selection that includes more than one style, only the first character or paragraph style is returned.

Community Additions

ADD
Show:
© 2014 Microsoft