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 / April 2005

Tip: Looking for answers? Try searching our database.

IncludeText field updating automatically?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Claudia - 26 Apr 2005 23:28 GMT
I work for a law firm and am responsible for updating our letterhead every
time an attorney leaves or joins the firm. Because we have 7 printers with
varying paper tray settings, this requires 7 letterhead templates. I've
experimented with the IncludeText field hoping I could have just one file
where changes are made and all 7 of the templates would simply have
IncludeText fields that pulled text from that one main letterhead document.
Then I can change just the one document. Now this works just swell but the
only way I can get the IncludeText fields to update is by clicking on them
and pressing F9. If the "Update Fields" box is checked in the Print Options,
the field does not update. And I know half of our users are not going to
remember to update the field.

I'd like that field to update automatically when the user opens the
template. I know there's a code that can cause a macro to run upon opening
the document (if the user's macro security settings are set low enough) but I
can't remember how to do it. Can this be done? It's too bad you can't build a
switch into fields that cause them to automatically update.
Greg Maxey - 26 Apr 2005 23:48 GMT
Claudia,

Assuming the field is located in the primary heading story, maybe you could
use a line of VBA something like:

ActiveDocument.StoryRanges(wdPrimaryHeaderStory).Fields.Update

in an AutoNew and AutoOpen macro stored in the templates.

Signature

Greg Maxey/Word MVP
See:
http://gregmaxey.mvps.org/word_tips.htm
For some helpful tips using Word.

> I work for a law firm and am responsible for updating our letterhead
> every time an attorney leaves or joins the firm. Because we have 7
[quoted text clipped - 15 lines]
> too bad you can't build a switch into fields that cause them to
> automatically update.
Cindy M  -WordMVP- - 30 Apr 2005 14:21 GMT
Hi =?Utf-8?B?Q2xhdWRpYQ==?=,

Which version of Word? Do you have the option to update fields on opening
activated in Tools/Options/General? Does the information in this article help:

Prompt to update fields:
http://support.microsoft.com?kbid=330079
WD: How the Behavior of the Word Fields Changes After You Install the Word
Update

> I work for a law firm and am responsible for updating our letterhead every
> time an attorney leaves or joins the firm. Because we have 7 printers with
[quoted text clipped - 13 lines]
> can't remember how to do it. Can this be done? It's too bad you can't build a
> switch into fields that cause them to automatically update.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

Rate this thread:






 
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.