View.ShadeEditableRanges Property (Word)

Returns or sets a Long that represents whether shading is applied to the ranges in a document for which users have permission to modify. .

expression .ShadeEditableRanges

expression An expression that returns a View object.

True shades the ranges in a document that users can modify. Range shading is on by default. When range shading is on, or when you set the property to True, the ShadeEditableRanges property returns a value of -1. When you set the ShadeEditableRanges property to False it returns a value of 0. The values have no meaning beyond indicating whether the property is True or False.

The following example shades all ranges for which users have permission to modify.

ActiveWindow.View.ShadeEditableRanges = True

Concepts

Other resources

Show:
© 2014 Microsoft