PC Review


Reply
Thread Tools Rate Thread

Create a new file, name it and overwrite an existing name without confimation

 
 
Rob
Guest
Posts: n/a
 
      14th Jan 2007
Hell FellowNewsgroupreaders,

basically the title syas it all.

I have to recreate some 200 files and update them on a regular basis. Don't
ask me why but opening and editing the existing file is not an option. I
create a new file, save it and overwrite the existing (closed) file. Even in
a macro I still have to confirm this overwrite. How do I avoid that? Can't
find it in the literature and on some helpful sites.

Rob





 
Reply With Quote
 
 
 
 
Don Guillett
Guest
Posts: n/a
 
      14th Jan 2007
Have you tried
application.displayalerts=false
do it
application.displayalerts=true

--
Don Guillett
SalesAid Software
(E-Mail Removed)
"Rob" <(E-Mail Removed)> wrote in message
news:5ced4$45aa2b66$503932d0$(E-Mail Removed)...
> Hell FellowNewsgroupreaders,
>
> basically the title syas it all.
>
> I have to recreate some 200 files and update them on a regular basis.
> Don't ask me why but opening and editing the existing file is not an
> option. I create a new file, save it and overwrite the existing (closed)
> file. Even in a macro I still have to confirm this overwrite. How do I
> avoid that? Can't find it in the literature and on some helpful sites.
>
> Rob
>
>
>
>
>



 
Reply With Quote
 
Rob
Guest
Posts: n/a
 
      14th Jan 2007
Don,

sometimes you need a ousider to get rid of a temporary blackout! In ALL my
macro's I enable displayalerts while creating and testing. I simply add a
public const boolian that says i'm testing or not. Sure enough disabling
displayalerts does the trick. Thanks!

Rob



"Don Guillett" <(E-Mail Removed)> schreef in bericht
news:(E-Mail Removed)...
> Have you tried
> application.displayalerts=false
> do it
> application.displayalerts=true
>
> --
> Don Guillett
> SalesAid Software
> (E-Mail Removed)
> "Rob" <(E-Mail Removed)> wrote in message
> news:5ced4$45aa2b66$503932d0$(E-Mail Removed)...
>> Hell FellowNewsgroupreaders,
>>
>> basically the title syas it all.
>>
>> I have to recreate some 200 files and update them on a regular basis.
>> Don't ask me why but opening and editing the existing file is not an
>> option. I create a new file, save it and overwrite the existing (closed)
>> file. Even in a macro I still have to confirm this overwrite. How do I
>> avoid that? Can't find it in the literature and on some helpful sites.
>>
>> Rob
>>
>>
>>
>>
>>

>
>



 
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
vb2005 - how to overwrite an existing file? spowel4 Microsoft VB .NET 2 15th Mar 2007 09:17 PM
Create an upgrading .EXE with an embedded DLL to overwrite existing deployed DLL phobos7 Microsoft C# .NET 9 7th Oct 2005 04:36 PM
Overwrite existing file without prompt =?Utf-8?B?TWFyaw==?= Microsoft Excel Programming 0 17th Sep 2004 01:21 PM
Re: Overwrite an existing file Bob Umlas Microsoft Excel Misc 0 2nd Sep 2004 03:49 PM
Re: Overwrite an existing file Harald Staff Microsoft Excel Misc 0 2nd Sep 2004 03:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:08 AM.