SOLVED

Opening a copy of an excel workbook and retaining original unchanged

Copper Contributor

I have a 'master' workbook which I want to make available to users but I want to be able to open a copy of the workbook and retain the master copy unchanged.  Is there a Vba code to enable this?  I have tried a few things using the 'before open' event but am unable to find the correct code.

 

 

2 Replies
best response confirmed by Nicodemus1960 (Copper Contributor)
Solution

@Nicodemus1960 

Save the workbook as an Excel Template (*.xltx), or if it contains VBA code, as an Excel Macro-Enabled Template (*.xltm).

The default action for a template is to create a new workbook from the template.

Hi Hans

Excellent thank you
1 best response

Accepted Solutions
best response confirmed by Nicodemus1960 (Copper Contributor)
Solution

@Nicodemus1960 

Save the workbook as an Excel Template (*.xltx), or if it contains VBA code, as an Excel Macro-Enabled Template (*.xltm).

The default action for a template is to create a new workbook from the template.

View solution in original post