Редагувати

Поділитися через


ColorFormat.TintAndShade property (Excel)

Returns or sets a Single that lightens or darkens a color.

Syntax

expression.TintAndShade

expression A variable that represents a ColorFormat object.

Remarks

You can enter a number from -1 (darkest) to 1 (lightest) for the TintAndShade property. Zero (0) is neutral.

Attempting to set this property to a value less than -1 or more than 1 results in a run-time error: "The specified value is out of range." This property works for both theme colors and nontheme colors.

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.