跳到主要内容

ApiUniqueValues

Represents the ApiUniqueValues class.

Properties

NameTypeDescription
DupeUniqueXlDuplicateValuesReturns or sets the setting that specifies whether to format duplicate or unique values for the unique values conditional formatting rule.
TypeXlFormatConditionTypeReturns the type of the unique values conditional formatting rule.

Methods

MethodReturnsDescription
DeleteNoneDeletes the current format condition.
GetAppliesToApiRange | nullReturns the range of cells to which the current conditional formatting rule applies.
GetDateOperatorXlTimePeriods | nullReturns the date operator for time period conditions.
GetDupeUniqueXlDuplicateValuesReturns the setting that specifies whether to format duplicate or unique values for the unique values conditional formatting rule.
GetFillColorApiColor | 'No Fill'Returns the background color for the format condition. Returns 'No Fill' when the background color of the format condition is null.
GetFontApiFont | nullReturns the font applied by the current format condition.
GetFormula1stringReturns the first formula used by the current conditional formatting rule.
GetFormula2stringReturns the second formula used by the current conditional formatting rule.
GetNumberFormatstringReturns the number format applied to a cell when the conditional formatting rule evaluates to true.
GetOperatorXlFormatConditionOperatorReturns the format condition operator.
GetPTConditionPTCondition | nullReturns the pivot table condition object.
GetParentApiRangeReturns the parent range object of the current format condition.
GetPrioritynumberReturns the priority value of the conditional formatting rule.
GetScopeTypeXlPivotConditionScopeReturns the scope type of the conditional formatting rule.
GetTextstringReturns the text value used in text-based conditional formatting rules.
GetTextOperatorXlContainsOperator | nullReturns the text operator for text-based conditional formatting rules.
GetTypeXlFormatConditionTypeReturns the type of the unique values conditional formatting rule.
ModifyApiFormatCondition | nullModifies the current format condition with the specified parameters.
ModifyAppliesToRangeNoneSets the cell range to which the current conditional formatting rule applies.
SetBordersNoneSets the border style for the conditional formatting rule.
SetDateOperatorNoneSets the date operator for time period conditions.
SetDupeUniqueNoneSets the setting that specifies whether to format duplicate or unique values for the unique values conditional formatting rule.
SetFillColorNoneSets the background color to the format condition with the previously created color object. Sets 'No Fill' when previously created color object is null.
SetFirstPriorityNoneSets the priority value for the current conditional formatting rule to "1" so that it will be evaluated before all other rules on the worksheet.
SetLastPriorityNoneSets the evaluation order for the current conditional formatting rule so it is evaluated after all other rules on the worksheet.
SetNumberFormatNoneSets the number format applied to a cell when the conditional formatting rule evaluates to true.
SetPriorityNoneSets the priority value of the conditional formatting rule.
SetScopeTypeNoneSets the scope type for the conditional formatting rule.
SetTextNoneSets the text value used in text-based conditional formatting rules.
SetTextOperatorNoneSets the text operator for text-based conditional formatting rules.