CommandButton.PressedForeColor property (Access)

Gets or sets the color of the text displayed on the control when the user chooses it. Read/write Long.

Syntax

expression.PressedForeColor

expression A variable that represents a CommandButton object.

Remarks

The PressedForeColor 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.