Version

SetFirstPriority Method

Sets the Priority value for this rule such that it is the first condition to be evaluated. Applicable only in the case where there is more than one element contained within the associated collection.
Syntax
'Declaration
 
Public Sub SetFirstPriority() 
public void SetFirstPriority()
Remarks

When multiple conditions exist in the same collection, the order in which they are evaluated has bearing on which format is applied to cells which meet those conditions.

This method ensures that the associated condition is the first one to be evaluated.

To make a condition the last one to be evaluated, use the SetLastPriority method.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also