Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Code to OK DeleteSheet automatically
I have DeleteSheet code at the end of my macro and the box always pops asking
if I want to Delete the Sheet. What is code to make it automatically close or = True? -- Mickey |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Code to OK DeleteSheet automatically
Put Application.DisplayAlerts = False
before your DeleteSheet code and Application.DisplayAlerts = True after it. Hope this helps, Hutch "Mikey" wrote: I have DeleteSheet code at the end of my macro and the box always pops asking if I want to Delete the Sheet. What is code to make it automatically close or = True? -- Mickey |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Code to OK DeleteSheet automatically
Works perfectly. Thanks for the time.
-- Mickey "Tom Hutchins" wrote: Put Application.DisplayAlerts = False before your DeleteSheet code and Application.DisplayAlerts = True after it. Hope this helps, Hutch "Mikey" wrote: I have DeleteSheet code at the end of my macro and the box always pops asking if I want to Delete the Sheet. What is code to make it automatically close or = True? -- Mickey |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
automatically using VBA code in Sheet 1 | Excel Programming | |||
Automatically running code | Excel Worksheet Functions | |||
Using automatically entered code | Excel Programming | |||
Code to automatically overwrite? | Excel Programming | |||
Running Code Automatically | Excel Programming |