View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Norman Jones Norman Jones is offline
external usenet poster
 
Posts: 5,302
Default File already exists. Do I want to replace?

Hi Emoe,

Try:

Application.DisplayAlerts = False

'Your File save code

Application.DisplayAlerts = True


---
Regards,
Norman



"EMoe" wrote in message
...

Hello Programmers!

Is there a way to write in a code that bypasses or doesn't prompt the
message asking me Do I want to replace the existing file. My reponse
each time will be yes I do.

I want to eliminate the need to click yes everytime my code runs if
possible.

Thanks,
EMoe.


--
EMoe
------------------------------------------------------------------------
EMoe's Profile:
http://www.excelforum.com/member.php...o&userid=23183
View this thread: http://www.excelforum.com/showthread...hreadid=548250