ColorScale.SetFirstPriority Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the priority value for this conditional formatting rule to "1" so that it will be evaluated before all other rules on the worksheet.
public:
void SetFirstPriority();
public void SetFirstPriority ();
Public Sub SetFirstPriority ()
Remarks
When you have multiple conditional formatting rules in a worksheet, if the rule was not previously set to priority "1", this method will cause the priority of all other existing rules on the worksheet to be increased by one.
Note: Priority levels for conditional formatting rules are applied on a worksheet-level basis.