Muistiinpano
Tälle sivulle pääsy edellyttää valtuutusta. Voit yrittää kirjautua sisään tai vaihtaa hakemistoja.
Tälle sivulle pääsy edellyttää valtuutusta. Voit yrittää vaihtaa hakemistoja.
Returns the validation alert style. Read-only XlDVAlertStyle.
Syntax
expression.AlertStyle
expression A variable that represents a Validation object.
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.
Example
This example displays the alert style for cell E5.
MsgBox Range("e5").Validation.AlertStyle
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.