L
Lynne O'Regan
At present I have a series of templates each with their own custom document
properties. If I have a user form with, say, a textbox with the name
'txtdepartment' I can then access the custom document property as follows:
txtdepartment=activedocument.customdocumentproperties("department).value and
it enters that into the textbox
Now I want to get a little more adventurous and keep all of the many custom
properties in the global template with each different active document
looking for its own properties as and when I open it. I've tried various
combinations of coding but cannot convince Word VBA to look in the global
template to access its custom properties. Working with VBA Help gives me
every sort of answer except the one I need!
Can anyone shed a little light on this point, please?
Regards
Lynne O'Regan
properties. If I have a user form with, say, a textbox with the name
'txtdepartment' I can then access the custom document property as follows:
txtdepartment=activedocument.customdocumentproperties("department).value and
it enters that into the textbox
Now I want to get a little more adventurous and keep all of the many custom
properties in the global template with each different active document
looking for its own properties as and when I open it. I've tried various
combinations of coding but cannot convince Word VBA to look in the global
template to access its custom properties. Working with VBA Help gives me
every sort of answer except the one I need!
Can anyone shed a little light on this point, please?
Regards
Lynne O'Regan