Operator Property

Microsoft Access Visual Basic

Operator Property

       

You can use the Operator property to return the operator value for the conditional format or data validation of a FormatCondition object. Read-only AcFormatConditionOperator.

AcFormatConditionOperator can be one of these AcFormatConditionOperator constants.
acBetween
acEqual
acGreaterThan
acGreaterThanOrEqual
acLessThan
acLessThanOrEqual
acNotBetween
acNotEqual

expression.Operator

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

Remarks

The Operator property is available only by using Visual Basic.

The Operator property's intrinsic constants are used in conjunction with the Expression1 and Expression2 properties and the Add method of the FormatConditions object for conditional formatting and data validation.