IconSetCondition.SetFirstPriority Method
Sets the priority value for this conditional formatting rule to "1" so that it will be evaluated before all other rules on the worksheet.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub SetFirstPriority
'Usage
Dim instance As IconSetCondition
instance.SetFirstPriority()
void 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.