Version

Search Results

Clone Method (DataValidationRule)

Creates a copy of this rule which can be applied to other worksheets. Syntax

ErrorMessageDescription Property

Gets or sets the description which appears in the dialog box when an invalid value is applied to a cell in Microsoft Excel. Syntax Property Value The description to show the user or null to use a default error description. Exceptions Exception Description System.ArgumentException Occurs when the specified value is...

ErrorMessageTitle Property

Gets or sets the title which appears in the dialog box when an invalid value is applied to a cell in Microsoft Excel. Syntax Property Value The title to show the user or null to use a default error dialog title. Exceptions Exception Description System.ArgumentException Occurs when the specified value is longer tha...

ErrorStyle Property

Gets or sets the value which indicates whether the value is allowed when it is invalid and which options are given to the user in the error dialog shown by Microsoft Excel. Syntax Exceptions Exception Description System.ComponentModel.InvalidEnumArgumentException Occurs when the value is not a member of the DataVa...

InputMessageDescription Property

Gets or sets the description in the tooltip which appears when the user selects the cell in Microsoft Excel. Syntax Property Value The description to show the user in the tooltip. Exceptions Exception Description System.ArgumentException Occurs when the specified value is longer than 255 characters. Remarks This v...

InputMessageTitle Property

Gets or sets the title in the tooltip which appears when the user selects the cell in Microsoft Excel. Syntax Property Value The title to show the user in the tooltip. Exceptions Exception Description System.ArgumentException Occurs when the specified value is longer than 32 characters. Remarks This value is only ...

IsEquivalentTo Method (DataValidationRule)

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.

ShowErrorMessageForInvalidValue Property

Gets or sets the value which indicates whether the error dialog should appear in Microsoft Excel when invalid data is entered in the cell. Syntax Property Value True to show the error dialog for invalid cell data; False otherwise. Remarks When the value is False, invalid data can be entered into cells, but when th...