![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 6
|
(I have searched the archive before posting, so forgive me if these questions have been answered before)
Is it possible to disable the "OK/Cancel" confirmation request that comes up when you try to delete a worksheet, and if so how? Thanks, wbrien |
|
|
|
|
|
#2 |
|
New Member
Join Date: Mar 2002
Posts: 32
|
Use this:
Application.DisplayAlerts=False Sheet1.Delete Application.DisplayAlerts=True |
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Posts: 6
|
DMeador52 - sorry for taking so long to say thank you
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|