Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hello,
i use a macro to divide an excel file in many files, and create and delete some sheet. This run many times. All the times a file is saved overwriting an existing one i ask me what to do; the same when the command say to delete a sheet. there is a way to avoid this. i need to run the macro and leave the pc make everything without anybody present thanks franz |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() Add the following statement before you start processing your files: Application.DisplayAlerts = False Although your alerts will come back on after the macro finishes running I always add the following line at the end of the macro: Application.DisplayAlerts = True It keeps it tidy and who knows if it will become mandatory in some later release of Excel. -- Kevin Backmann "Francesco Magagnino" wrote: Hello, i use a macro to divide an excel file in many files, and create and delete some sheet. This run many times. All the times a file is saved overwriting an existing one i ask me what to do; the same when the command say to delete a sheet. there is a way to avoid this. i need to run the macro and leave the pc make everything without anybody present thanks franz |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hi,
at the start of your macro add this line... application.displayalerts = false then at the end of the macro, turn alerts back on... application.displayalerts = true regards FSt1 "Francesco Magagnino" wrote: Hello, i use a macro to divide an excel file in many files, and create and delete some sheet. This run many times. All the times a file is saved overwriting an existing one i ask me what to do; the same when the command say to delete a sheet. there is a way to avoid this. i need to run the macro and leave the pc make everything without anybody present thanks franz |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks guys!!
but some are still coming out.. the one that say: "to permanently delete the data press delete!" why? franz |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
avoid duplication in a column in excel | Excel Discussion (Misc queries) | |||
How do I avoid duplicating names in excel? | Excel Worksheet Functions | |||
How to avoid duplicates across multiple worsheets in excel? | Excel Discussion (Misc queries) | |||
How can avoid the security Macro message ... | Excel Discussion (Misc queries) | |||
how to avoid duplicates in excel workbook? | Excel Discussion (Misc queries) |