Color Property

Applies To

Font object.

Description

Returns a ColorFormat object that represents the background color for the specified characters. Read-only.

Example

This example sets the color of characters one through five in the title on slide one.

myRed = RGB(255, 0, 0)
Set myT = Application.ActivePresentation.Slides(1).Shapes.Title
myT.TextFrame.TextRange.Characters(1, 5).Font.Color.RGB = myRed