Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
SaveAs without prompt
Hello,
Is there a way to overwrite a file with SaveAs without being prompted with a dialog box? Or do you have to delete the file first and then save? -- Thanks in advance, Steven |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
SaveAs without prompt
Hi Steven,
Try: Sub Test() Application.DisplayAlerts = False ActiveWorkbook.SaveAs "YourFileName" '<<<== CHANGE Application.DisplayAlerts = True End Sub --- Regards, Norman "Steven K0" wrote in message ... Hello, Is there a way to overwrite a file with SaveAs without being prompted with a dialog box? Or do you have to delete the file first and then save? -- Thanks in advance, Steven |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
SaveAs without prompt
Application.DisplayAlerts = False
"your code Application.DisplayAlerts = True Gord Dibben Excel MVP On Thu, 16 Sep 2004 20:16:35 -0500, "Steven K0" wrote: Hello, Is there a way to overwrite a file with SaveAs without being prompted with a dialog box? Or do you have to delete the file first and then save? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
save prompt for user exit, but no save prompt for batch import? | Excel Discussion (Misc queries) | |||
SaveAs | Excel Programming | |||
SaveAs,csv | Excel Programming | |||
SaveAs | Excel Programming | |||
SaveAs | Excel Programming |