VHS01
Board Regular
- Joined
- Nov 3, 2005
- Messages
- 139
I spent a great deal of time going through posts, but could not find anything directly related to this.
Presently I have the vba code passworded on my workbook
Periodically, I export the code for the module, create a new workbook using the "Workbooks.Add(xlWBATWorksheet), import the module to the new workbook, and kill the exported files.
Trouble is the new workbook's code is not protected.
Can passwording the newly created workbook's vba code be done programatically?
Presently I have the vba code passworded on my workbook
Periodically, I export the code for the module, create a new workbook using the "Workbooks.Add(xlWBATWorksheet), import the module to the new workbook, and kill the exported files.
Trouble is the new workbook's code is not protected.
Can passwording the newly created workbook's vba code be done programatically?