You want to use the DisplayAlerts option. For example:Application.DisplayAlerts=False'Your delete code goes hereApplication.DisplayAlerts=TrueFor more related info, see:http://www.ozgrid.com/VBA/ExcelVBAErrors.htm