PC Review


Reply
Thread Tools Rate Thread

Overwriting existing files

 
 
Luc Martens
Guest
Posts: n/a
 
      12th Nov 2007
How can I overwrite an existing file with the same name with the procedure
SaveAs in Visual Basic for Applications without the program asking me for
overwriting ("Yes, No, Annuleren").

Thanks

Luc


 
Reply With Quote
 
 
 
 
Doug Glancy
Guest
Posts: n/a
 
      12th Nov 2007
Luc,

Application.DisplayAlerts = False
.... your saveas code
Application.DisplayAlerts = True

hth,

Doug

"Luc Martens" <(E-Mail Removed)> wrote in message
news:MASZi.202797$(E-Mail Removed)...
> How can I overwrite an existing file with the same name with the procedure
> SaveAs in Visual Basic for Applications without the program asking me for
> overwriting ("Yes, No, Annuleren").
>
> Thanks
>
> Luc
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Overwriting existing files =?Utf-8?B?SmVhbm5l?= Windows Vista General Discussion 24 27th Sep 2007 01:06 AM
Word Templates: .dot overwriting vs. .dotm overwriting =?Utf-8?B?ZG1pbnNvbg==?= Microsoft Word Document Management 0 23rd Jul 2007 07:56 PM
Move files and prompt user if overwriting existing file Mike Microsoft Access 2 23rd May 2007 05:11 AM
exporting - overwriting existing snp. files =?Utf-8?B?c21hZ2FsYTI5?= Microsoft Access Reports 2 22nd Nov 2005 04:27 PM
Avoid IE OverWriting Existing Sites Already Loaded? clintonG Windows XP Internet Explorer 3 16th Nov 2004 12:03 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:11 PM.