Border.TintAndShade property (Excel)
Returns or sets a Single that lightens or darkens a color.
Syntax
expression.TintAndShade
expression A variable that represents a Border 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 this run-time error: "The specified value is out of range." This property works for both theme colors and nontheme colors.
Important
Note that the visual properties of a Border object are interlocked; that is, changing one property can induce changes in another. In most cases, the induced changes serve to make the border visible (which may or may not be desirable). However, other (more unexpected) results are possible. For an example, see the Border 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.