Group:  Microsoft Word ยป microsoft.public.word.mailmerge.fields
Thread: Mail merge fields formatting

Geek News

Mail merge fields formatting
LO 5/4/2007 8:53:02 PM
I'm creating mail merge documents. When the data is uploaded into the merge
document, the format of the merge field changes and does not match the rest
of the Word Document. I attempt to correct the text format, but as soon as
the document is printed, the format goes back to the original which does not
match the rest of the document. Not sure what I'm doing wrong.
Re: Mail merge fields formatting
"macropod" <invalid[ at ]invalid.invalid> 5/5/2007 2:05:53 AM
Hi LO,

This sounds rather like the paragraph you've got the mailmerge field in is formatted with a particular Word Style, and someone has
overridden that with hard-formatting. The best way of dealing with this is to use the Style definitions correctly.

Having said that, there is a workaround:
.. select the problem field
.. press Shift-F9 to reveal the field coding, which should look something like: {MERGEFIELD MyData}
.. format the 'M' in MERGEFIELD the way you want the output formatted
.. add '\* Charformat' to the end of the field, thus: {MERGEFIELD MyData \* Charformat}
.. delete the '\* Mergeformat' switch if it's present
.. run your mailmerge.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

"LO" <LO[ at ]discussions.microsoft.com> wrote in message news:95F6D274-A0EC-40FF-8FCB-B1DAFE1FAA9A[ at ]microsoft.com...
[Quoted Text]
> I'm creating mail merge documents. When the data is uploaded into the merge
> document, the format of the merge field changes and does not match the rest
> of the Word Document. I attempt to correct the text format, but as soon as
> the document is printed, the format goes back to the original which does not
> match the rest of the document. Not sure what I'm doing wrong.

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net