Version

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
'Declaration
 
Public Property ErrorStyle As DataValidationErrorStyle
public DataValidationErrorStyle ErrorStyle {get; set;}
Exceptions
ExceptionDescription
System.ComponentModel.InvalidEnumArgumentExceptionOccurs when the value is not a member of the DataValidationErrorStyle enumeration.
Remarks

This value is only used when ShowErrorMessageForInvalidValue is True.

Requirements

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

See Also

View on GitHub