RevisedPropertiesColor Property

Microsoft Word Visual Basic

Show All

RevisedPropertiesColor Property

       

Returns or sets the color used to mark formatting changes while change tracking is enabled. Read/write WdColorIndex.

WdColorIndex can be one of these WdColorIndex constants.
wdAuto
wdBlack
wdBlue
wdBrightGreen
wdByAuthor
wdDarkBlue
wdDarkRed
wdDarkYellow
wdGray25
wdGray50
wdGreen
wdNoHighlight
wdPink
wdRed
wdTeal
wdTurquoise
wdViolet
wdWhite
wdYellow

expression.RevisedPropertiesColor

expression   Required. An expression that returns an Options object.

Remarks

If deleted or inserted text has formatting changes, the RevisedPropertiesColor property is overridden by the DeletedTextColor or InsertedTextColor property.

Example

This example tracks changes in the active document, sets the color of text with changed formatting to teal, and applies bold formatting to the selection.

ActiveDocument.TrackRevisions = True
Options.RevisedPropertiesColor = wdTeal
Selection.Font.Bold = True

This example returns the option selected in the Color box under Track Changes options on the Track Changes tab in the Options dialog box (Tools menu).

temp = Options.RevisedPropertiesColor