excel vba disable alerts code example Example: excel vba disable alerts Application.DisplayAlerts = False