![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Guest
Posts: n/a
|
I am running a daily report that is saved to a network drive. Since there are links on the Intranet to this file, it has be saved as the same file name everyday, just overwrite the existing one. Question is, how do I get my macro to save the file as that same file name and automatically overwrite the existing file, without popping up and asking me if I want to overwrite?
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sydney, Australia
Posts: 2,908
|
Hi,
Put in Application.DisplayAlerts = False 'Then save your workbook Application.DisplayAlerts = True This will stop the message popping up. Regards, D |
|
|
|
|
|
#3 |
|
Guest
Posts: n/a
|
Awesome, thanks!
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|