Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Bypass sheets.delete confimation
When I use Sheets("Sheet2").Delete the macro pauses and states there may be data blah blah do you want to delete? How do I Tell the macro to auto click yes? -- mpeplow ------------------------------------------------------------------------ mpeplow's Profile: http://www.excelforum.com/member.php...o&userid=34812 View this thread: http://www.excelforum.com/showthread...hreadid=569623 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Bypass sheets.delete confimation
Hi mpeplow
Use Application.DisplayAlerts = False Delete code Application.DisplayAlerts = True -- Regards Ron de Bruin http://www.rondebruin.nl "mpeplow" wrote in message ... When I use Sheets("Sheet2").Delete the macro pauses and states there may be data blah blah do you want to delete? How do I Tell the macro to auto click yes? -- mpeplow ------------------------------------------------------------------------ mpeplow's Profile: http://www.excelforum.com/member.php...o&userid=34812 View this thread: http://www.excelforum.com/showthread...hreadid=569623 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
VBA Bypass Delete Sheet Warning | Excel Programming | |||
Macro to delete sheets and saves remaining file does not properly delete module | Excel Programming | |||
Macro to delete sheets and saves remaining file does not properly delete module | Excel Programming | |||
Macro to delete sheets and saves remaining file does not properly delete module | Excel Programming | |||
Macro to delete sheets and saves remaining file does not properly delete module | Excel Programming |