Options.DiacriticColorVal property (Word)

Returns or sets the 24-bit color to be used for diacritics in a right-to-left language document. Read/write.

Syntax

expression. DiacriticColorVal

expression Required. A variable that represents an Options object.

Remarks

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

Example

This example sets the color for diacritics to bright green.

If Options.UseDiffDiacColor = True Then _ 
 Options.DiacriticColorVal = wdColorBrightGreen

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.