Version

Search Results

GetUpperConstraintFormula(String) Method

Gets the upper constraint formula used to validate the cell value. Syntax Parameters address The address of the cell or region that serves as the basis for relative references, or null to use the top-left cell of the worksheet. Return Value A formula used to validate the value applied to a cell. Exceptions Excepti...

GetUpperConstraintFormula(String,WorkbookFormat,CellReferenceMode,CultureInfo) Method

Gets the upper constraint formula used to validate the cell value. Syntax Parameters address The address of the cell or region that serves as the basis for relative references, or null to use the top-left cell of the worksheet.format The workbook format with which to parse address.cellReferenceMode The cell refere...

GetUpperConstraintFormula Method

Gets the upper constraint formula used to validate the cell value. Overload List

IsEquivalentTo Method (TwoConstraintDataValidationRule)

Indicates if this rule is structurally equivalent to another. Syntax Parameters other The rule to compare against Return Value Returns true if the specified other has the same settings as this rule.

SetLowerConstraint(DateTime) Method

Sets the lower constraint value used to validate the cell value. Syntax Parameters value The lower constraint value used to compare against the cell value. Exceptions Exception Description System.ArgumentException Occurs when value cannot be represented as a date in Excel. System.ArgumentException Occurs when the ...

SetLowerConstraint(Double) Method

Sets the lower constraint value used to validate the cell value. Syntax Parameters value The lower constraint value used to compare against the cell value. Exceptions Exception Description System.ArgumentException Occurs when the specified value is greater than the upper constraint value. If the upper constraint f...

SetLowerConstraint(TimeSpan) Method

Sets the lower constraint value used to validate the cell value. Syntax Parameters value The lower constraint value used to compare against the cell value. Exceptions Exception Description System.ArgumentException Occurs when the specified value is greater than the upper constraint value. If the upper constraint f...

SetLowerConstraint Method

Sets the lower constraint value used to validate the cell value. Overload List

SetLowerConstraintFormula(String,String) Method

Gets the lower constraint formula used to validate the cell value. Syntax Parameters lowerConstraintFormula The lower constraint formula to use for the rule.address The address of the cell or region that serves as the basis for relative references, or null to use the top-left cell of the worksheet. Exceptions Exce...

SetLowerConstraintFormula(String,String,WorkbookFormat,CellReferenceMode,CultureInfo) Method

Gets the lower constraint formula used to validate the cell value. Syntax Parameters lowerConstraintFormula The lower constraint formula to use for the rule.address The address of the cell or region that serves as the basis for relative references, or null to use the top-left cell of the worksheet.format The workb...