Skip to main content

SetScopeType

Sets the scope type for the conditional formatting rule.

Syntax​

expression.SetScopeType(ScopeType);

expression - A variable that represents an ApiAboveAverage class.

Parameters​

NameRequired/OptionalData typeDefaultDescription
ScopeTypeRequiredXlPivotConditionScopeThe scope type: "xlSelectionScope", "xlDataFieldScope", or "xlFieldsScope".

Returns​

This method doesn't return any data.