ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Overwrite Prompt with Save As (https://www.excelbanter.com/excel-programming/337823-overwrite-prompt-save.html)

Chip

Overwrite Prompt with Save As
 
How can I remove the overwrite prompt when I do Save As? I tried SendKeys
"{ENTER}" to defeat it but that doesn't work.

Bob Phillips[_6_]

Overwrite Prompt with Save As
 
Application.DisplayAlerts = False
'Save
Application.DisplayAlerts = True

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Chip" wrote in message
...
How can I remove the overwrite prompt when I do Save As? I tried SendKeys
"{ENTER}" to defeat it but that doesn't work.




Chip

Overwrite Prompt with Save As
 
Thanks Bob. As soon as I saw your answer, I remembered that property. Isn't
it amazing how much we forget!

"Bob Phillips" wrote:

Application.DisplayAlerts = False
'Save
Application.DisplayAlerts = True

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Chip" wrote in message
...
How can I remove the overwrite prompt when I do Save As? I tried SendKeys
"{ENTER}" to defeat it but that doesn't work.






All times are GMT +1. The time now is 06:14 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com