Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm using the following code:
Sheets("Setup").delete What do I need to add to this to prevent the confirmation message from appearing? I would like the sheet to be deleted without any interaction. Thanks, Paul |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Use Application.DisplayAlerts = False to suppress the
confirmation message. E.g., Application.DisplayAlerts = False Sheets("Setup").Delete Application.DisplayAlerts = True -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "PCLIVE" wrote in message ... I'm using the following code: Sheets("Setup").delete What do I need to add to this to prevent the confirmation message from appearing? I would like the sheet to be deleted without any interaction. Thanks, Paul |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Chip.
Most helpful. Also, great website. Thanks again. Paul "Chip Pearson" wrote in message ... Use Application.DisplayAlerts = False to suppress the confirmation message. E.g., Application.DisplayAlerts = False Sheets("Setup").Delete Application.DisplayAlerts = True -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "PCLIVE" wrote in message ... I'm using the following code: Sheets("Setup").delete What do I need to add to this to prevent the confirmation message from appearing? I would like the sheet to be deleted without any interaction. Thanks, Paul |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Application.DisplayAlerts = False
Sheets("Setup").delete Application.DisplayAlerts = True -- Regards, Tom Ogilvy "PCLIVE" wrote in message ... I'm using the following code: Sheets("Setup").delete What do I need to add to this to prevent the confirmation message from appearing? I would like the sheet to be deleted without any interaction. Thanks, Paul |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Tom.
Much appreciated. "Tom Ogilvy" wrote in message ... Application.DisplayAlerts = False Sheets("Setup").delete Application.DisplayAlerts = True -- Regards, Tom Ogilvy "PCLIVE" wrote in message ... I'm using the following code: Sheets("Setup").delete What do I need to add to this to prevent the confirmation message from appearing? I would like the sheet to be deleted without any interaction. Thanks, Paul |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
deleting sheets 2&3 | Excel Discussion (Misc queries) | |||
deleting sheets | Excel Discussion (Misc queries) | |||
Deleting Sheets | Excel Programming | |||
Deleting sheets | Excel Programming | |||
deleting sheets | Excel Programming |