![]() |
How to avoid delete confirmation
Hi.
I got a macro on workbook1 that deletes a sheet on workbook2. But when I execute it, it shows a warning asking for confirmation. How can I avoid this warning and getting the sheet deleted? Any kinda help will be greatly appreciated Jepane |
How to avoid delete confirmation
Applicartion.displayAlerts = False
'Delete your sheet Application.DisplayAlerts = True -- HTH... Jim Thomlinson "Jens Palacios Neffke" wrote: Hi. I got a macro on workbook1 that deletes a sheet on workbook2. But when I execute it, it shows a warning asking for confirmation. How can I avoid this warning and getting the sheet deleted? Any kinda help will be greatly appreciated Jepane |
All times are GMT +1. The time now is 02:45 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com