ComboBox.FormatConditions property (Access)

Use the FormatConditions property to return a read-only reference to the FormatConditions collection and its related properties.

Syntax

expression.FormatConditions

expression A variable that represents a ComboBox object.

Example

The following example sets format properties for an existing conditional format for the Textbox1 control.

With Forms("forms1").Controls("Textbox1").FormatConditions(1) 
 .BackColor = RGB(255,255,255) 
 .FontBold = True 
 .ForeColor = RGB(255,0,0) 
End With

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.