RE: Save As / Overwrite
- From: Brent E <BrentE@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 23 Oct 2008 12:08:01 -0700
Thanks Mike,
I think that'll work. I'll let you know momentarily.
"Mike H" wrote:
Hi,.
Try something like this
Sub SaveMeeeee()
Application.DisplayAlerts = False
ThisWorkbook.SaveAs Filename:="MyFileName"
Application.DisplayAlerts = True
End Sub
Mike
"Brent E" wrote:
Good Day,
I am using macros in an Excel file perform sorts on data and save each sort
type as a seperate html file. I want to be able to use this macro to perform
automatic updates.
If I use the Workbook.SaveAs command, I am constantly prompted whether to
overwrite the existing file. I do not want this box to appear.
Is there a variant to the Workbook.SaveAs command that automatically
overwrites a file with the same file name without prompting for a
yes/no/cancel?
Thanks,
- References:
- Save As / Overwrite
- From: Brent E
- RE: Save As / Overwrite
- From: Mike H
- Save As / Overwrite
- Prev by Date: RE: Create Group and Label Cell
- Next by Date: RE: Finding (and eliminating) hidden "space" character
- Previous by thread: RE: Save As / Overwrite
- Next by thread: RE: Save As / Overwrite
- Index(es):
Relevant Pages
|
Loading