Disable Dialogue Box To Save & Replace File

D

Dolphinv4

Hi,

I'd like to have a macro to NOT have excel ask me if I want to replace the
existing file when i save, ie, when I save a file and there's already one in
the folder, I want excel to just overwrite the file without having a dialogue
box asking me if I want to overwrite the existing file. Is it possible?

Regards,
Dolphin
 
M

mudraker

Dolphin

Try

Application.DisplayAlerts = False
save file
Application.DisplayAlerts = True
 
Top