banner_fish
11-10-2004, 01:08 PM
I am using a macro that will output a form. When the program runs again it prompts: Do you want to replace the existing file? Is there anyway I can turn this prompt off or bypass it? I need the whole process automated. Thanks!
banner_fish
11-11-2004, 07:56 AM
Thanks for the tip, but it didn't work. It still prompts you about deleting the file. Anyone else????
TryingMyBest
11-18-2004, 08:49 AM
DoCmd.SetWarnings False
This works in Access 2002
Jo :)
dbbotkin
01-14-2005, 05:16 PM
It didn't seem to work for me either. I still get the prompt with warnings=false. I assume the 'doCmd.setwarnings false' is in VBA, but still doesn't work.
Donal
myhshen
08-25-2005, 10:27 AM
the following codes work for me in Excel VBA to bypass the
Prompt: Do you want to replace the file
---------------------------------------
Application.DisplayAlerts = False
ActiveWorkbook.SaveAs Filename:="yourfilename.xls", _
FileFormat:=xlNormal, _
Password:="", _
WriteResPassword:="", _
ReadOnlyRecommended:=False, _
CreateBackup:=False _