Validation.AlertStyle Property
Returns the validation alert style. Read-only XlDVAlertStyle.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
ReadOnly Property AlertStyle As Integer
Get
'Usage
Dim instance As Validation
Dim value As Integer
value = instance.AlertStyle
int AlertStyle { get; }
Property Value
Type: System.Int32
Remarks
Use the Add method to set the alert style for a range. If the range already has data validation, use the Modify method to change the alert style.