Replacement.Style Property

Word Developer Reference

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. Read/write Variant.

Syntax

expression.Style

expression   Required. A variable that represents a Replacement object.

Remarks

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

See Also