A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Word » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

IncludeText Field Code



 
 
Thread Tools Display Modes
  #1  
Old March 23rd, 2010, 03:40 PM posted to microsoft.public.word.docmanagement
Joseph Talbott[_2_]
external usenet poster
 
Posts: 19
Default IncludeText Field Code

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?
  #2  
Old March 23rd, 2010, 09:34 PM posted to microsoft.public.word.docmanagement
macropod[_2_]
external usenet poster
 
Posts: 2,402
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?


  #3  
Old March 23rd, 2010, 10:23 PM posted to microsoft.public.word.docmanagement
Joseph Talbott[_2_]
external usenet poster
 
Posts: 19
Default IncludeText Field Code

Thanks for the reply. I hadn't tried the bookmark option yet and that may
just be the ticket. I certainly understand about the final paragraph mark.
Before I figured that one out some of my documents were quite literally
possessed. I have also used the Insert File option but that really places a
lot of "junk" on the front page when there are many subdocuments.

Joe

"macropod" wrote:

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?


.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:25 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.