Stopping Excel's Warning Prompts for Recorded Macros : Application.DisplayAlerts « Application « VBA / Excel / Access / Word






Stopping Excel's Warning Prompts for Recorded Macros

 

Sub MyMacro( )
      Application.DisplayAlerts = False
      ActiveSheet.Delete
      Application.DisplayAlerts = True
End Sub

 








Related examples in the same category