Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What line of code should I include while deleting a worksheet through
VBA so that the security feature (The selected sheet(s) will be permanently deleted.) is disabled. Right now I have to click "OK" for the code to continue. Any suggestions? |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
use something like ... application.displayalerts=false 'delete the sheet application.displayalerts=True -- Regards Frank Kabel Frankfurt, Germany Fun Kid wrote: What line of code should I include while deleting a worksheet through VBA so that the security feature (The selected sheet(s) will be permanently deleted.) is disabled. Right now I have to click "OK" for the code to continue. Any suggestions? |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Frank,
Thank you for your prompt reply. It worked. Fun Kid "Frank Kabel" wrote in message ... Hi use something like .. application.displayalerts=false 'delete the sheet application.displayalerts=True -- Regards Frank Kabel Frankfurt, Germany Fun Kid wrote: What line of code should I include while deleting a worksheet through VBA so that the security feature (The selected sheet(s) will be permanently deleted.) is disabled. Right now I have to click "OK" for the code to continue. Any suggestions? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
deleting of worksheet | Excel Discussion (Misc queries) | |||
Deleting a worksheet but retaining values from the worksheet. | Excel Discussion (Misc queries) | |||
Deleting a worksheet but retaining values from the worksheet. | Excel Discussion (Misc queries) | |||
deleting values in a worksheet without deleting the formulas | Excel Worksheet Functions | |||
deleting worksheet | Excel Discussion (Misc queries) |