TextBox.Enabled property (Access)
You can use the Enabled property to set or return the status of the conditional format in the FormatCondition object. Read/write Boolean.
expression A variable that represents a TextBox object.
The Enabled property setting is a value that indicates whether the conditional format is enabled or disabled. True enables the conditional format. False disables the conditional format. The default is True.
When the Enabled property is True, the conditional format can be displayed in the Conditional Formatting dialog box.
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.