Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Programming / March 2008

Tip: Looking for answers? Try searching our database.

Automatically saving a file

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
davethewelder - 31 Mar 2008 15:05 GMT
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
Mike - 31 Mar 2008 15:09 GMT
Try this:
   Application.DisplayAlerts = False
   ActiveWorkbook.Save
   Application.DisplayAlerts = True

>  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
[quoted text clipped - 3 lines]
>
> Davie
davethewelder - 31 Mar 2008 15:17 GMT
Mike, worked a treat.  Many Thanks
Davie

> Try this:
>     Application.DisplayAlerts = False
[quoted text clipped - 8 lines]
> >
> > Davie
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.