![]() |
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 |
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 |
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 |
All times are GMT +1. The time now is 05:32 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com