RevisedLinesColor Property

Microsoft Word Visual Basic

Show All

RevisedLinesColor Property

       

Returns or sets the color of changed lines in a document with tracked changes. 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.RevisedLinesColor

expression   Required. An expression that returns an Options object.

Example

This example sets the color of changed lines to pink.

Options.RevisedLinesColor = wdPink

This example returns the current status of the Color option under Changed lines on the Track Changes tab in the Options dialog box (Tools menu).

temp = Options.RevisedLinesColor