Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default Automatically saving a file

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,101
Default Automatically saving a file

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default Automatically saving a file

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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Saving a file automatically everytime it is closed Wombat Excel Discussion (Misc queries) 4 October 28th 09 06:36 PM
File/Close automatically saving changes without prompt Joe@SAA Excel Discussion (Misc queries) 0 June 23rd 08 10:31 PM
Automatically ZIP Excel File on saving... Darin Kramer Excel Programming 1 February 2nd 07 02:35 PM
automatically saving a file every 5 minutes George Ferreira Excel Programming 0 November 16th 06 02:52 AM
Saving File automatically dok112[_17_] Excel Programming 2 June 24th 04 08:34 PM


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

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"