Expression2 Property

Microsoft Access Visual Basic

object. Read-only String.

expression.Expression2

expression    Required. An expression that returns one of the objects in the Applies To list.

Remarks

The Expression2 property returns a Variant value or expression associated with the second part of the conditional format when the Operator property of the FormatCondition object is acBetween or acNotBetween, otherwise, the Expression2 property is NULL.

The Expression2 property is available only by using Visual Basic.

Conditional formatting can also be set on a combo box or text box from the Conditional Formatting dialog box. The Conditional Formatting dialog box is available by clicking Conditional Formatting on the Format menu when a form is in Design view.