Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / December 2004

Tip: Looking for answers? Try searching our database.

auto update to properties section... help!!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
linda - 06 Dec 2004 20:19 GMT
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
Word Heretic - 07 Dec 2004 10:49 GMT
G'day "linda" <linda.klamm@sungard.com>,

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:

>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
[quoted text clipped - 11 lines]
>
>End Sub
linda - 08 Dec 2004 13:11 GMT
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.

> G'day "linda" <linda.klamm@sungard.com>,
>
[quoted text clipped - 22 lines]
> >
> >End Sub
Word Heretic - 10 Dec 2004 10:09 GMT
G'day "linda" <linda.klamm@sungard.com>,

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:

>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.
[quoted text clipped - 29 lines]
>> >
>> >End Sub
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.