Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi, i have a macro that save an excel file, but i have another workbook in
the same folder. i need to replace that file. I need the macro to ignore the message that ask me if i really want to replace existing file. Can this be done? Thanks! |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
hi
at the beginning of your code add this... application.displayalert = false this turns off all display messages. then at then end of your code add this. application.displayalerts = true this turns them back on again. regards FSt1 "puiuluipui" wrote: Hi, i have a macro that save an excel file, but i have another workbook in the same folder. i need to replace that file. I need the macro to ignore the message that ask me if i really want to replace existing file. Can this be done? Thanks! |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks!
"FSt1" a scris: hi at the beginning of your code add this... application.displayalert = false this turns off all display messages. then at then end of your code add this. application.displayalerts = true this turns them back on again. regards FSt1 "puiuluipui" wrote: Hi, i have a macro that save an excel file, but i have another workbook in the same folder. i need to replace that file. I need the macro to ignore the message that ask me if i really want to replace existing file. Can this be done? Thanks! |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Application.displayalerts = false
your code to save Application.displayalerts = true Gord Dibben MS Excel MVP On Tue, 18 May 2010 14:09:01 -0700, puiuluipui wrote: Hi, i have a macro that save an excel file, but i have another workbook in the same folder. i need to replace that file. I need the macro to ignore the message that ask me if i really want to replace existing file. Can this be done? Thanks! |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks!
"Gord Dibben" a scris: Application.displayalerts = false your code to save Application.displayalerts = true Gord Dibben MS Excel MVP On Tue, 18 May 2010 14:09:01 -0700, puiuluipui wrote: Hi, i have a macro that save an excel file, but i have another workbook in the same folder. i need to replace that file. I need the macro to ignore the message that ask me if i really want to replace existing file. Can this be done? Thanks! . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
MACRO Problem | Excel Discussion (Misc queries) | |||
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable | Excel Worksheet Functions | |||
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable | Excel Discussion (Misc queries) | |||
Problem with Macro | Excel Discussion (Misc queries) | |||
Macro problem | Excel Discussion (Misc queries) |