Düzenle

Aracılığıyla paylaş


Options.InsertedTextColor property (Word)

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

Syntax

expression. InsertedTextColor

expression Required. A variable that represents an Options object.

Remarks

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

Example

This example sets the color of inserted text to dark red.

Options.InsertedTextColor = wdDarkRed

This example returns the current status of the Color option under Track Changes options on the Track Changes tab in the Options dialog box.

Dim lngColor As Long 
 
lngColor = Options.InsertedTextColor

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.