Düzenle

Aracılığıyla paylaş


Options.DeletedTextColor property (Word)

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

Syntax

expression. DeletedTextColor

expression Required. A variable that represents an Options object.

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.

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.

Dim lngTemp As Long 
 
lngTemp = Options.DeletedTextColor

See also

Options Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.