Update Custom Document Property in Template
I am having problems finding just where to put code that will update the value in a Custom Document Property in a template file when that template file is being used to create a new document.
I have tried opening the template file with VBA code, modifying the value in the custom document property and saving the changes to the template file but that did not work.
I have code that will write to the property of the template when I step through it in the template file, but when the code is run when the new document is being created, it does not update the value in the custom property. It also does not cause an error.
Any assistance is appreciated.
Byron
|