ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Save a copy of a Workbook without its modules (https://www.excelbanter.com/excel-programming/309186-save-copy-workbook-without-its-modules.html)

Jordi Pocurull

Save a copy of a Workbook without its modules
 
I've an Excel workbook (WB1) with code that opens another Excel workbook
(WB2) that runs itself some more code and when the control returns to the
WB1 it saves a copy of WB2 with another name.

I want that that copy of WB2 be saved without including any VB code.



Tom Ogilvy

Save a copy of a Workbook without its modules
 
look at Chip Pearson's site for sample code that should get you started

http://www.cpearson.com/excel/vbe.htm

--
Regards,
Tom Ogilvy


"Jordi Pocurull" wrote in message
...
I've an Excel workbook (WB1) with code that opens another Excel workbook
(WB2) that runs itself some more code and when the control returns to the
WB1 it saves a copy of WB2 with another name.

I want that that copy of WB2 be saved without including any VB code.






All times are GMT +1. The time now is 05:31 PM.

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