Edit

Share via


Font.DiacriticColor property (Word)

Returns or sets the 24-bit color to be used for diacritics for the specified Font object. Read/write.

Syntax

expression. DiacriticColor

expression Required. A variable that represents a Font object.

Remarks

This property can be any valid WdColor constant or a value returned by Visual Basic's RGB function. The value of the UseDiffDiacColor property must be True to use this property.

Example

This example sets the color for diacritics to blue in the current selection.

If Options.UseDiffDiacColor = True Then _ 
 Selection.Font.DiacriticColor = wdColorBlue

See also

Font 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.