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 / Mailmerge and Fax / September 2005

Tip: Looking for answers? Try searching our database.

IncludeText fields

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeff - 29 Sep 2005 17:40 GMT
Word 2000, Windowx XP sp2

I am trying to use the INCLUDETEXT feature to load document headers and
paragraphs into a few hundred documents.  Unfortunately, when I insert the
INCLUDETEXT code and try to set the link to automatically update, the
options are grayed out!!!  If I go into the main document (not the source),
and go to "Edit > Links", I can see the included file path at the top.  When
I select it, the two options at the bottom nexst to Update, "Automatic" and
"Manual" are both not available.  I have tried using the 'Insert File'
feature as well.

Anyone have any suggestions of how I can get the INCLUDETEXT field to update
when the document is opened?

Thanks!

Jeff
Charles Kenyon - 29 Sep 2005 20:53 GMT
You can do it with a macro or two, but consider, instead using AutoText
(possibly from a global template) instead of IncludeText. If, on the other
hand, you want documents you prepare and save to not change on you when your
custom material changes, consider either locking the fields upon document
finalization or using macros to actually insert your text when the document
is created.
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://www.mvps.org/word 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.

> Word 2000, Windowx XP sp2
>
[quoted text clipped - 13 lines]
>
> Jeff
Jeff - 29 Sep 2005 21:32 GMT
Thanks for the suggestion.  I don't think AutoText will cut it as I am
loading a company logo and a few specifically placed text boxes with company
information.  This would all be very simple to do if MS Word worked
correctly, I cannot believe that all of the documentation/help says to do
this, but Word doesn't allow you to.

I do need the information to be dynamic and change whenever I change the
master file.

> You can do it with a macro or two, but consider, instead using AutoText
> (possibly from a global template) instead of IncludeText. If, on the other
[quoted text clipped - 19 lines]
>>
>> Jeff
Charles Kenyon - 29 Sep 2005 22:47 GMT
You can put the company logo and other company information into AutoText in
a global template and use AutoText fields to pull it into documents
(templates). You would still probably need one or more AutoOpen macros to
update these fields. 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 still suspect you are using documents when you should be using templates.
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://www.mvps.org/word 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.

> Thanks for the suggestion.  I don't think AutoText will cut it as I am
> loading a company logo and a few specifically placed text boxes with
[quoted text clipped - 28 lines]
>>>
>>> Jeff
Charles Kenyon - 29 Sep 2005 22:52 GMT
The following macro updates all REF fields in a document, including those in
headers/footers. You could change it to instead do IncludeText fields and
name it AutoOpen. Put it in the templates that are the bases for your
documents.

Sub RefFieldUpdateAllStory()
'   Written by Charles Kyle Kenyon 15 November 2001
'   repaired by Jezebel
'   All Story Field Updater - Ref fields
   Dim oField As Field
   Dim oStory As Range
'    On Error Resume Next
   For Each oStory In ActiveDocument.StoryRanges
   ' This goes into headers and footers as well as the regular document
       Do
           For Each oField In oStory.Fields
               If oField.Type = wdFieldRef Then
                   oField.Update
               End If
           Next oField
           Set oStory = oStory.Next
       Loop Until oStory Is Nothing
   Next oStory
End Sub

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://www.mvps.org/word 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.

> You can put the company logo and other company information into AutoText
> in a global template and use AutoText fields to pull it into documents
[quoted text clipped - 38 lines]
>>>>
>>>> Jeff

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.