AlertStyle Property Example

This example displays the alert style for cell E5.

MsgBox Range("e5").Validation.AlertStyle