Thread
:
VBA Code to automate "Save As"
View Single Post
#
3
Posted to microsoft.public.excel.programming
Chip Pearson
external usenet poster
Posts: 7,247
VBA Code to automate "Save As"
Kevin,
You can set Application.DisplayAlerts to False prior to the SaveAs to
prevent the dialog from appearing. E.g.,
Application.DisplayAlerts = False
' your code here
Application.DisplayAlerts = True
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com
"Kevin McLean" wrote in message
...
I would like to use a "Save As" VBA code to save a file
already open to another drive location. An example of my
code is below. Everytime this code runs it asks for
confirmation "yes/no" if I'd like to override the existing
file. I will always want to override it and would like a
line of VBA code to take care of that. Any ideas?
Thank you so much!
Kevin
Reply With Quote
Chip Pearson
View Public Profile
Find all posts by Chip Pearson