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