ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Save messages (https://www.excelbanter.com/excel-discussion-misc-queries/103046-save-messages.html)

ledzepe

Save messages
 

Hi everyone,

I made a macro to extract report from a big file, this macro then saves
it to a file called "today.csv" which already exist. Is there a way save
the file without having the popup about the file already exist and do
you want to continue?

Thanks in advance.


--
ledzepe
------------------------------------------------------------------------
ledzepe's Profile: http://www.excelforum.com/member.php...o&userid=25207
View this thread: http://www.excelforum.com/showthread...hreadid=568090


bigwheel

Save messages
 
Put in a line that reads

Application.DisplayAlerts = False

before your save instruction

"ledzepe" wrote:


Hi everyone,

I made a macro to extract report from a big file, this macro then saves
it to a file called "today.csv" which already exist. Is there a way save
the file without having the popup about the file already exist and do
you want to continue?

Thanks in advance.


--
ledzepe
------------------------------------------------------------------------
ledzepe's Profile: http://www.excelforum.com/member.php...o&userid=25207
View this thread: http://www.excelforum.com/showthread...hreadid=568090




All times are GMT +1. The time now is 12:28 PM.

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