'Declaration Public Sub SetFormula( _ ByVal formula As String, _ Optional ByVal cellReferenceMode As Nullable(Of CellReferenceMode) _ )
public void SetFormula( string formula, Nullable<CellReferenceMode> cellReferenceMode )
Note: the formula should return a boolean result. When the formula is applied to cells in the region if the formula returns false then those cells will not be included in the formatting.
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, 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