DeletedTextColor Property

Applies To

Options object.

Description

Returns or sets the color of text that is deleted while change tracking is enabled. Read/write Long.

Can be one of the following WdColorIndex constants:

  • wdAuto
  • wdBlack
  • wdBlue
  • wdBrightGreen
  • wdByAuthor
  • wdDarkBlue
  • wdDarkRed
  • wdDarkYellow
  • wdGray25
  • wdGray50
  • wdGreen
  • wdNoHighlight
  • wdPink
  • wdRed
  • wdTeal
  • wdTurquoise
  • wdViolet
  • wdWhite
  • wdYellow

Remarks

If the DeletedTextColor property is set to wdByAuthor, Word automatically assigns a unique color to each of the first eight authors who revise a document.

See Also

DeletedTextMark property, InsertedTextColor property.

Example

This example sets the color of deleted text to bright green.

Options.DeletedTextColor = wdBrightGreen
This example returns the current status of the Color option under Deleted Text on the Track Changes tab in the Options dialog box.

temp = Options.DeletedTextColor