Home |
Search |
Today's Posts |
#1
|
|||
|
|||
Confirm Delete Message Disable
When I delete a sheet which has data I get the standared confirmation dialog
allowing me to delete or cancel. This is a problem because I would like to do this from a remote VB pgrogam. Is there a way to disable this dialog ? |
#2
|
|||
|
|||
Try,
Application.DisplayAlerts = False 'Your code to do your thing Application.DisplayAlerts = True Regards, Alan "RiosPapa" wrote in message ... When I delete a sheet which has data I get the standared confirmation dialog allowing me to delete or cancel. This is a problem because I would like to do this from a remote VB pgrogam. Is there a way to disable this dialog ? |
#3
|
|||
|
|||
Yes this did the trick, thankyou for the timely and accurate support,
Have a great day "Alan" wrote: Try, Application.DisplayAlerts = False 'Your code to do your thing Application.DisplayAlerts = True Regards, Alan "RiosPapa" wrote in message ... When I delete a sheet which has data I get the standared confirmation dialog allowing me to delete or cancel. This is a problem because I would like to do this from a remote VB pgrogam. Is there a way to disable this dialog ? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do I delete a worksheet from my workbook | New Users to Excel | |||
In a protected worksheet allow users to delete rows | Excel Worksheet Functions | |||
Delete row depending on criteria | Excel Discussion (Misc queries) | |||
How to delete rows when List toolbar's "delete" isnt highlighted? | Excel Worksheet Functions | |||
How to delete blank rows | Excel Discussion (Misc queries) |