V
Vince
Hey all,
This could be an easy question but I can't seem to solve it yet.
In my VB program, I am making a reference to the Office Library to use the
Excel methods. Everything works fine and I save the file using
Workbook.SaveAs TheFileName
This statement brings up the confirmation box if the file already exists.
However, I do not want it do that and just overwrite the file, if it already
exists. How do I do this? I do not want to delete the file before running
this because, sometimes, I have to add a new worksheet to an existing file
and cannot delete the old worksheets.
Thanks for your time / any response.
Vince
This could be an easy question but I can't seem to solve it yet.
In my VB program, I am making a reference to the Office Library to use the
Excel methods. Everything works fine and I save the file using
Workbook.SaveAs TheFileName
This statement brings up the confirmation box if the file already exists.
However, I do not want it do that and just overwrite the file, if it already
exists. How do I do this? I do not want to delete the file before running
this because, sometimes, I have to add a new worksheet to an existing file
and cannot delete the old worksheets.
Thanks for your time / any response.
Vince