Databar.SetLastPriority 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 evaluation order for this conditional formatting rule so it is evaluated after all other rules on the worksheet.
public:
void SetLastPriority();
public void SetLastPriority ();
Public Sub SetLastPriority ()
Remarks
The actual value of the priority will be equal to the total number of conditional formatting rules on the worksheet. When you have multiple conditional formatting rules in a worksheet, this method will cause the priority of rules that had a priority value greater than this rule to be increased by one.
Note: Priority levels for conditional formatting rules are applied on a worksheet-level basis.