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 » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

IncludeText - How to keep paragraph format of the source document



 
 
Thread Tools Display Modes
  #1  
Old November 6th, 2008, 11:24 PM posted to microsoft.public.word.mailmerge.fields
mairsa
external usenet poster
 
Posts: 4
Default IncludeText - How to keep paragraph format of the source document

I'm trying to use the Includetext fieldcode to insert a bookmarked table from
document A into document B using Word 2007. I have tried both with and
without the /*Mergeformat switch.

The problem is that while the table and font format are preserved, the line
and paragraph spacing settings are not, and neither are the custom styles I'm
using. The text in the table is defaulting to Normal style with 1.15pt
linespace and 10pt after each paragraph.

Because the table in document A is quite big (48 pages!) and the text in it
has different line and paragraph spacing (depending on the contents of the
cells) I can't use mergeformat and reformat document B manually.

Any ideas? I'll be relieved if there is a relatively easy way to solve this
problem. I tried to write a macro too, but my vb skills are almost
non-existent!

Thanks in advance,


M




  #2  
Old November 7th, 2008, 12:49 AM posted to microsoft.public.word.mailmerge.fields
macropod[_2_]
external usenet poster
 
Posts: 2,402
Default IncludeText - How to keep paragraph format of the source document

Hi mairsa,

The reason the formats are changing is that both documents are using the same Style names, but differently. Consequently, the
material from the source document (ir the one pointed to by the INCLUDTEXT field) is taking on the corresponding Style attributes in
the target document.

The best way to fix this is to either:
.. change the Style attributes in the target document to match those of the source document; or
.. use a set of attributes in the source document that don't exist in the target document for the linked material

Note that, if you adopt the first option, this will impact any text using those Styles in the target document.

--
Cheers
macropod
[MVP - Microsoft Word]


"mairsa" wrote in message ...
I'm trying to use the Includetext fieldcode to insert a bookmarked table from
document A into document B using Word 2007. I have tried both with and
without the /*Mergeformat switch.

The problem is that while the table and font format are preserved, the line
and paragraph spacing settings are not, and neither are the custom styles I'm
using. The text in the table is defaulting to Normal style with 1.15pt
linespace and 10pt after each paragraph.

Because the table in document A is quite big (48 pages!) and the text in it
has different line and paragraph spacing (depending on the contents of the
cells) I can't use mergeformat and reformat document B manually.

Any ideas? I'll be relieved if there is a relatively easy way to solve this
problem. I tried to write a macro too, but my vb skills are almost
non-existent!

Thanks in advance,


M





  #3  
Old November 7th, 2008, 01:08 AM posted to microsoft.public.word.mailmerge.fields
mairsa
external usenet poster
 
Posts: 4
Default IncludeText - How to keep paragraph format of the source docum

Thanks a lot macropod, that made perfect sense!

"macropod" wrote:

Hi mairsa,

The reason the formats are changing is that both documents are using the same Style names, but differently. Consequently, the
material from the source document (ir the one pointed to by the INCLUDTEXT field) is taking on the corresponding Style attributes in
the target document.

The best way to fix this is to either:
.. change the Style attributes in the target document to match those of the source document; or
.. use a set of attributes in the source document that don't exist in the target document for the linked material

Note that, if you adopt the first option, this will impact any text using those Styles in the target document.

--
Cheers
macropod
[MVP - Microsoft Word]


"mairsa" wrote in message ...
I'm trying to use the Includetext fieldcode to insert a bookmarked table from
document A into document B using Word 2007. I have tried both with and
without the /*Mergeformat switch.

The problem is that while the table and font format are preserved, the line
and paragraph spacing settings are not, and neither are the custom styles I'm
using. The text in the table is defaulting to Normal style with 1.15pt
linespace and 10pt after each paragraph.

Because the table in document A is quite big (48 pages!) and the text in it
has different line and paragraph spacing (depending on the contents of the
cells) I can't use mergeformat and reformat document B manually.

Any ideas? I'll be relieved if there is a relatively easy way to solve this
problem. I tried to write a macro too, but my vb skills are almost
non-existent!

Thanks in advance,


M






 




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 11:46 AM.


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