ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Keep original wkbk open after SaveAs? (https://www.excelbanter.com/excel-programming/328597-keep-original-wkbk-open-after-saveas.html)

Ed

Keep original wkbk open after SaveAs?
 
I open a "template" workbook, throw in some information and then do SaveAs
to create a new workbook. After I finish with the new workbook, though, I'd
like to go back and add some more stuff to the original "template". SaveAs,
though, closes the original and leaves me with just the new workbook. Is
there any way to leave the "template" workbook open to write to?

Ed



Jake Marx[_3_]

Keep original wkbk open after SaveAs?
 
Hi Ed,

Ed wrote:
I open a "template" workbook, throw in some information and then do
SaveAs to create a new workbook. After I finish with the new
workbook, though, I'd like to go back and add some more stuff to the
original "template". SaveAs, though, closes the original and leaves
me with just the new workbook. Is there any way to leave the
"template" workbook open to write to?


Look at the SaveCopyAs method - it does exactly what you're looking for.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]

Ed

Keep original wkbk open after SaveAs?
 
Many thanks, Jake!
Ed

"Jake Marx" wrote in message
...

Look at the SaveCopyAs method - it does exactly what you're looking for.

--
Regards,

Jake Marx
MS MVP - Excel
www.longhead.com

[please keep replies in the newsgroup - email address unmonitored]





All times are GMT +1. The time now is 05:58 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com