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