'Declaration Public Overloads Sub SetFormula( _ ByVal formula As System.String, _ ByVal cellReferenceMode As CellReferenceMode _ )
public void SetFormula( System.string formula, CellReferenceMode cellReferenceMode )
Exception | Description |
---|---|
System.ArgumentNullException | formula is null or empty. |
System.ComponentModel.InvalidEnumArgumentException | cellReferenceMode is not defined in the CellReferenceMode enumeration. |
System.ArgumentException | formula is not a valid formula. The inner exception will contain the FormulaParseException describing the reason the formula was not valid. |
Target Platforms: Windows 8.1, Windows 8.1, Windows 8, 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
View on GitHub