Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ColorFormat.Brightness Property (Excel)

ColorFormat.Brightness Property (Excel)

Returns or sets the luminosity of the specified object. Read/write

Version Added: Excel 2010

expression .Brightness

expression A variable that represents a ColorFormat object.

Return Value

Single

The value for this property must be a number from 0.0 (dimmest) to 1.0 (brightest).

The following code example sets the brightness of the fill color for the first shape in the active worksheet.

ActiveSheet.Shapes(1).Fill.ForeColor.Brightness = 0.5
Show:
© 2015 Microsoft