Color Property

From Microsoft Graph Visual Basic

Color Property

       

Returns or sets the primary color of the Border object, Font object, or the Interior object. Use the RGB function to create a color value. Read/write Variant.

expression.Color

expression   Required. An expression that returns an object in the Applies To List.

Example

This example sets the color of the tick-mark labels on the value axis.

myChart.Axes(xlValue).TickLabels.Font.Color = RGB(0, 255, 0)