auto update to properties section... help!!

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
 
W

Word Heretic

G'day "linda" <[email protected]>,

Do they have the template with the macros in it?


Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


linda reckoned:
 
L

linda

yes, they can do alt/f11 to open VB, and the code below is there. I am
stumped as to why it won't work for anyone but myself.
 
W

Word Heretic

G'day "linda" <[email protected]>,

You aren't using references in your project to another global template
you haven't provided them?


Steve Hudson - Word Heretic

steve from wordheretic.com (Email replies require payment)
Without prejudice


linda reckoned:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top