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 / March 2006

Tip: Looking for answers? Try searching our database.

Replace Header

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sandy - 16 Mar 2006 22:58 GMT
I have a template which lists the names of the owners of the company in the
header.  From time to time these names are updated.  

When we pull up old documents many times the header is out of date and users
forget to run the update macro I created.  Is there a way to create an auto
macro which will run only on documents based on the attached template?  If I
can do that I know how to do the rest.  Is this the best way to handle this?  
Thank you.
Charles Kenyon - 16 Mar 2006 23:03 GMT
Not the best way to handle.

First, "an old document." You don't want to change a name in an old document
but in a new document. Your old document should probably be a template if
you are using it this way.

Second, you can set up a separate template that holds AutoText entries
including this name. This is saved as a global template. See
http://addbalance.com/word/movetotemplate.htm for step-by-step instructions
on moving / sharing / copying / backing-up customizations including
AutoText, AutoCorrect, keyboard assignments, toolbars, macros, etc.

I would set my document template up with an AutoText field that reflects
this AutoText entry. Then have an AutoNew macro in the template that unlinks
the AutoText field when an new document is created. This way your templates
will be up to date while your new documents will have the correct
information.
Signature


Charles Kenyon

Word New User FAQ & Web Directory: http://addbalance.com/word

Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide

See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.

>I have a template which lists the names of the owners of the company in the
> header.  From time to time these names are updated.
[quoted text clipped - 8 lines]
> this?
> Thank you.
 
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.