다음을 통해 공유


FormatCondition.Modify Method (Access)

You can use the Modify method to change the format conditions of a FormatCondition object in the FormatConditions collection of a combo box or text box control.

Syntax

.Modify(Type, Operator, Expression1, Expression2)

A variable that represents a FormatCondition object.

Parameters

Name

Required/Optional

Data Type

Description

Type

필수

AcFormatConditionType

A AcFormatConditionType constant that specifies the type of condition to be modified.

Operator

선택

AcFormatConditionOperator

A AcFormatConditionOperator constant that specifies the type of operator to be used.

참고 사항참고
If the type argument is acExpression, the operator argument is ignored. If you leave this argument blank, the default constant (acBetween) is assumed.

Expression1

선택

Variant

A value or expression associated with the first part of the conditional format. Can be a constant value or a string value.

Expression2

선택

Variant

A value or expression associated with the second part of the conditional format when the operator argument is acBetween or acNotBetween (otherwise, this argument is ignored). Can be a constant value or a string value.

Return Value

Nothing

참고 항목

개념

FormatCondition Object

FormatCondition Object Members