VBA/Excel/Access/Word/Application/Application.DisplayAlerts

Материал из VB Эксперт
Перейти к: навигация, поиск

Stopping Excel"s Warning Prompts for Recorded Macros

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