View Single Post
  #3   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default IncludeText Field Code

Hi Joseph,

If you bookmark all of each source document except for the final paragraph mark, you can then add the bookmark name to the
INCLUDETEXT field and Word will import all except that troublesome last paragraph mark. See Word's help file for further details.

Note: if it makes things any easier, all the source documents can have the same bookmark names.

--
Cheers
macropod
[Microsoft MVP - Word]


"Joseph Talbott" wrote in message
...
I am experimenting with creating a master document from several subdocuments
using the IncludeText code. So far, as long as I don't mess up the path, it
works well. My question is this: When I list each IncludeText field on a
separate line in the "master" document, the resulting imported text includes
the paragraph return at the end of the line with the field code and this
means that I end up with a double return between subdocuments. The only way I
have found to work around this is to, essentially, place all of the field
codes in the same paragraph. It works, but for a document with a lot of
subdocuments, it is very messy. I tried inserting a manual return at the end
of the field code but that messed up the style of the first line of the
following subdocument. Is there a way to place the each field code on a
separate line (paragraph?) without bringing in the extra return with the
imported text?