다음을 통해 공유


TextBox.FormatConditions Property (Access)

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

Syntax

.FormatConditions

A variable that represents a TextBox 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

참고 항목

개념

TextBox Object Members

TextBox Object