ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   File save as (https://www.excelbanter.com/excel-programming/430434-file-save.html)

Sunil Pradhan[_2_]

File save as
 

I have written a macro to save file in certain location using save as command.

Sometime destination already has the filename i use while using save as
command within the macro due to which it is asking me to overwrite the file.

What should i do to stop pop up of overwriting confirmation of file.


Mike H

File save as
 

Hi,

Application.displayalerts=false

your code

application.displayalerts=true

Mike

"Sunil Pradhan" wrote:

I have written a macro to save file in certain location using save as command.

Sometime destination already has the filename i use while using save as
command within the macro due to which it is asking me to overwrite the file.

What should i do to stop pop up of overwriting confirmation of file.



All times are GMT +1. The time now is 10:03 AM.

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