CommandButton.HoverForeColor property (Access)

Gets or sets the color of the text displayed on the control when the user rests the mouse cursor over it. Read/write Long.

Syntax

expression.HoverForeColor

expression A variable that represents a CommandButton object.

Remarks

The HoverForeColor property contains a numeric expression that represents the value of the text color in the control.

Use the Color Builder to set this property by choosing the Build button to the right of the property box in the property sheet. Using the Color Builder enables you to define custom 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.