Group:  Microsoft Word ยป microsoft.public.word.mailmerge.fields
Thread: Mail Merge / excel

Mail Merge / excel
Barry Baker 10/26/2008 7:07:01 PM
I have a mail merge document that works fine except a couple of the field are
a percentage field , in excel i have formated it to 2 decimal points but wen
it merges to work, it show the whole number which is about 15 digits

any idea how to make it just the tow. is ok in excel but not in word
Re: Mail Merge / excel
"Doug Robbins - Word MVP" <dkr[ at ]REMOVECAPSmvps.org> 10/26/2008 7:18:51 PM
See "Formatting Word fields with switches" on fellow MVP Graham Mayor's
website at

http://www.gmayor.com/formatting_word_fields.htm


--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Barry Baker" <Barry Baker[ at ]discussions.microsoft.com> wrote in message
news:1AAA046B-B5C7-4956-981B-9B3B63D28D36[ at ]microsoft.com...
[Quoted Text]
>I have a mail merge document that works fine except a couple of the field
>are
> a percentage field , in excel i have formated it to 2 decimal points but
> wen
> it merges to work, it show the whole number which is about 15 digits
>
> any idea how to make it just the tow. is ok in excel but not in word


Re: Mail Merge / excel
Barry Baker 10/26/2008 10:20:01 PM

I am using Word 2007, dont know if this make a difference but i have tried
that code and it dont work
RE: Mail Merge / excel
Barry Baker 10/26/2008 11:01:01 PM
found that this works \# ",0.00"

But i have tried and tried the % one but cant get that to work
Re: Mail Merge / excel
"Doug Robbins - Word MVP" <dkr[ at ]REMOVECAPSmvps.org> 10/27/2008 12:47:45 AM
Using a \# 0.00% switch certainly works correctly here in Office 2007.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Barry Baker" <BarryBaker[ at ]discussions.microsoft.com> wrote in message
news:CBD1FA7E-D40F-4A3D-B30D-37E6005F8AED[ at ]microsoft.com...
[Quoted Text]
> found that this works \# ",0.00"
>
> But i have tried and tried the % one but cant get that to work


Re: Mail Merge / excel
"Graham Mayor" <gmayor[ at ]REMOVETHISmvps.org> 10/27/2008 6:41:15 AM
Did you enter the second enclosing pair of field brackets with CTRL+F9?

{={Mergefield Fieldname} * 100 \# ",0.00%"}

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


Barry Baker wrote:
[Quoted Text]
> found that this works \# ",0.00"
>
> But i have tried and tried the % one but cant get that to work


Re: Mail Merge / excel
Pat 12/22/2008 9:17:01 PM
HI! I am trying to format to a % and it is not coming in correctly.
I searched and found this message.

My answer in Excel is 121.9%; however it is merging into my word doc as 1.22%

This is what my field reads: {MERGEFIELD "my field name" * 100 \# ",0.0%"}

I see that you are recommending adding an additional field bracket, however
when I enter as suggested below, I receive this !Syntax Error, {

How do I add additional brackets? Or better yet, how do I make this work
so that my answer in word is 121.9%
--
Thanks, Pat


"Graham Mayor" wrote:

[Quoted Text]
> Did you enter the second enclosing pair of field brackets with CTRL+F9?
>
> {={Mergefield Fieldname} * 100 \# ",0.00%"}
>
> --
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Graham Mayor - Word MVP
>
> My web site www.gmayor.com
> Word MVP web site http://word.mvps.org
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>
>
> Barry Baker wrote:
> > found that this works \# ",0.00"
> >
> > But i have tried and tried the % one but cant get that to work
>
>
>
Re: Mail Merge / excel
"Doug Robbins - Word MVP" <dkr[ at ]REMOVECAPSmvps.org> 12/22/2008 11:06:56 PM
Use { = { MERGEFIELD "fieldname" } * 100 \# ",0.0%" }

You must use Ctrl+F9 to insert each pair of field delimiters { }

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Pat" <patricia.provost[ at ]tdbanknorth.com.(donotspam)> wrote in message
news:76594230-AFDA-491E-AF79-FB23660AD427[ at ]microsoft.com...
[Quoted Text]
> HI! I am trying to format to a % and it is not coming in correctly.
> I searched and found this message.
>
> My answer in Excel is 121.9%; however it is merging into my word doc as
> 1.22%
>
> This is what my field reads: {MERGEFIELD "my field name" * 100 \#
> ",0.0%"}
>
> I see that you are recommending adding an additional field bracket,
> however
> when I enter as suggested below, I receive this !Syntax Error, {
>
> How do I add additional brackets? Or better yet, how do I make this work
> so that my answer in word is 121.9%
> --
> Thanks, Pat
>
>
> "Graham Mayor" wrote:
>
>> Did you enter the second enclosing pair of field brackets with CTRL+F9?
>>
>> {={Mergefield Fieldname} * 100 \# ",0.00%"}
>>
>> --
>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>> Graham Mayor - Word MVP
>>
>> My web site www.gmayor.com
>> Word MVP web site http://word.mvps.org
>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>>
>>
>> Barry Baker wrote:
>> > found that this works \# ",0.00"
>> >
>> > But i have tried and tried the % one but cant get that to work
>>
>>
>>


Re: Mail Merge / excel
Peter Jamieson <pjj[ at ]KillMAPSpjjnet.demon.co.uk> 12/22/2008 11:19:13 PM
Try { ={ MERGEFIELD "my field name" }*100 \#"0.0%" }

where you insert each pair of the special field braces {} using ctrl-F9

You only need the "," if you want a thousands separator, e.g. where the
value is 1234.5% and you want 1,234.5%


Peter Jamieson

http://tips.pjmsn.me.uk

Pat wrote:
[Quoted Text]
> HI! I am trying to format to a % and it is not coming in correctly.
> I searched and found this message.
>
> My answer in Excel is 121.9%; however it is merging into my word doc as 1.22%
>
> This is what my field reads: {MERGEFIELD "my field name" * 100 \# ",0.0%"}
>
> I see that you are recommending adding an additional field bracket, however
> when I enter as suggested below, I receive this !Syntax Error, {
>
> How do I add additional brackets? Or better yet, how do I make this work
> so that my answer in word is 121.9%
Re: Mail Merge / excel
Pat 12/22/2008 11:29:01 PM
Great! I will try that.

Thank you BOTH for your help.

Have a great evening!


--
Thanks, Pat


"Peter Jamieson" wrote:

[Quoted Text]
> Try { ={ MERGEFIELD "my field name" }*100 \#"0.0%" }
>
> where you insert each pair of the special field braces {} using ctrl-F9
>
> You only need the "," if you want a thousands separator, e.g. where the
> value is 1234.5% and you want 1,234.5%
>
>
> Peter Jamieson
>
> http://tips.pjmsn.me.uk
>
> Pat wrote:
> > HI! I am trying to format to a % and it is not coming in correctly.
> > I searched and found this message.
> >
> > My answer in Excel is 121.9%; however it is merging into my word doc as 1.22%
> >
> > This is what my field reads: {MERGEFIELD "my field name" * 100 \# ",0.0%"}
> >
> > I see that you are recommending adding an additional field bracket, however
> > when I enter as suggested below, I receive this !Syntax Error, {
> >
> > How do I add additional brackets? Or better yet, how do I make this work
> > so that my answer in word is 121.9%
>

Home | Search | Terms | Imprint
Newsgroups Reader