'メッセージや警告を非表示 Application.DisplayAlerts = False 'メッセージや警告を表示 Application.DisplayAlerts = True プログラムが終了すると、自動的に True になる。