![]() |
Macro to create new workbook
I have a scheduling workbook template. In this template workbook I need the
code to accomplish the following: 1) protect the template workbook so that it can never be changed, 2) code to create a new workbook via copying the template workbook. Thanks, Les |
Macro to create new workbook
The macro recorder is your friend
-- Don Guillett Microsoft MVP Excel SalesAid Software "WLMPilot" wrote in message ... I have a scheduling workbook template. In this template workbook I need the code to accomplish the following: 1) protect the template workbook so that it can never be changed, 2) code to create a new workbook via copying the template workbook. Thanks, Les |
Macro to create new workbook
Can the steps created by the recorder be assigned to a commandbutton? If
not, then I need to be able to use a commandbutton. Thanks, Les "Don Guillett" wrote: The macro recorder is your friend -- Don Guillett Microsoft MVP Excel SalesAid Software "WLMPilot" wrote in message ... I have a scheduling workbook template. In this template workbook I need the code to accomplish the following: 1) protect the template workbook so that it can never be changed, 2) code to create a new workbook via copying the template workbook. Thanks, Les |
Macro to create new workbook
look at SaveCopyAs Method in VBA helpfile.
-- JB "WLMPilot" wrote: I have a scheduling workbook template. In this template workbook I need the code to accomplish the following: 1) protect the template workbook so that it can never be changed, 2) code to create a new workbook via copying the template workbook. Thanks, Les |
All times are GMT +1. The time now is 09:34 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com