L
linda
I am having a problem automatically updating the properties section of word
2003. I have two fields on a template that I want to update 'title' and
'subject' . I have bookmarked the two fields and entered the following code
under document close: It works for my documents, however when I put the
template out on our network, it is not auto populating for other users. Why
would documents I create from the template populate the fields as expected,
but not for other users?
Private Sub Document_Close()
ActiveDocument.BuiltInDocumentProperties("Title")=
ActiveDocument.FormFields("mytitle").Result
ActiveDocument.BuiltInDocumentProperties("Subject") =
ActiveDocument.FormFields("mysubject").Result
End Sub
2003. I have two fields on a template that I want to update 'title' and
'subject' . I have bookmarked the two fields and entered the following code
under document close: It works for my documents, however when I put the
template out on our network, it is not auto populating for other users. Why
would documents I create from the template populate the fields as expected,
but not for other users?
Private Sub Document_Close()
ActiveDocument.BuiltInDocumentProperties("Title")=
ActiveDocument.FormFields("mytitle").Result
ActiveDocument.BuiltInDocumentProperties("Subject") =
ActiveDocument.FormFields("mysubject").Result
End Sub