FormatCondition.Modify (Excel)

Ändert ein bestehendes bedingtes Format.

Modify (Type, Operator, Formula1, Formula2, String, Operator2)


ActiveCell.FormatConditions(1).Modify Type:=xlAboveAverageCondition

Arguments

Ein benanntes Argument

Type (XlFormatConditionType) - Gibt an, ob das bedingte Format auf einem Zellwert oder auf einem Ausdruck basiert.

Dies sind mögliche Werte für XlFormatConditionType

Optional arguments

Die folgenden Argumente sind optional

Operator (XlFormatConditionType) - Ein XlFormatConditionOperator -Wert, der den Operator für die bedingte Formatierung darstellt.

Dies sind mögliche Werte für XlFormatConditionType

Formula1 (String) - Der dem bedingten Format zugeordnete Wert oder Ausdruck.

Formula2 (String) - Der dem bedingten Format zugeordnete Wert oder Ausdruck.

String

Operator2 - XlFormatConditionOperator


Möglichen Werte sind

xlBetween Zwischen.
xlEqual Gleich.
xlGreater Größer als
xlGreaterEqual Größer oder gleich
xlLess Kleiner als
xlLessEqual Kleiner oder gleich
xlNotBetween Nicht zwischen.
xlNotEqual Ungleich