PC Review


Reply
Thread Tools Rate Thread

Automatically saving a file

 
 
davethewelder
Guest
Posts: n/a
 
      31st Mar 2008
Hi, I wish to save a file which opens with a macro without the "do you wish
to replace this file" prompt appearing. File is an update of the scheduled
excel spreadsheet from an oracle database.

Thanks and regards,

Davie
 
Reply With Quote
 
 
 
 
Mike
Guest
Posts: n/a
 
      31st Mar 2008
Try this:
Application.DisplayAlerts = False
ActiveWorkbook.Save
Application.DisplayAlerts = True


"davethewelder" wrote:

> Hi, I wish to save a file which opens with a macro without the "do you wish
> to replace this file" prompt appearing. File is an update of the scheduled
> excel spreadsheet from an oracle database.
>
> Thanks and regards,
>
> Davie

 
Reply With Quote
 
davethewelder
Guest
Posts: n/a
 
      31st Mar 2008
Mike, worked a treat. Many Thanks
Davie

"Mike" wrote:

> Try this:
> Application.DisplayAlerts = False
> ActiveWorkbook.Save
> Application.DisplayAlerts = True
>
>
> "davethewelder" wrote:
>
> > Hi, I wish to save a file which opens with a macro without the "do you wish
> > to replace this file" prompt appearing. File is an update of the scheduled
> > excel spreadsheet from an oracle database.
> >
> > Thanks and regards,
> >
> > Davie

 
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
Automatically ZIP Excel File on saving... Darin Kramer Microsoft Excel Programming 2 3rd Feb 2007 01:57 AM
automatically saving a file every 5 minutes George Ferreira Microsoft Excel Programming 0 16th Nov 2006 02:52 AM
Automatically saving an website file =?Utf-8?B?U3R1Sm9s?= Microsoft Access External Data 1 2nd Mar 2006 10:30 PM
Saving File automatically dok112 Microsoft Excel Programming 2 24th Jun 2004 08:34 PM
Saving Sent messages to Sent File Automatically Alex C Microsoft Outlook Discussion 0 12th Jan 2004 03:05 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:26 PM.