Share via


Expression2 Property [Access 2003 VBA Language Reference]

You can use the Expression2 property to return the values of a conditional format within a FormatCondition 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.

Applies to | FormatCondition Object

See Also | Expression1 Property