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  

Mail Merge / excel



 
 
Thread Tools Display Modes
  #1  
Old October 26th, 2008, 08:07 PM posted to microsoft.public.word.mailmerge.fields
Barry Baker
external usenet poster
 
Posts: 1
Default Mail Merge / excel

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
  #2  
Old October 26th, 2008, 08:18 PM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default Mail Merge / excel

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 wrote in message
...
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



  #3  
Old October 26th, 2008, 11:20 PM posted to microsoft.public.word.mailmerge.fields
Barry Baker[_2_]
external usenet poster
 
Posts: 4
Default Mail Merge / excel


I am using Word 2007, dont know if this make a difference but i have tried
that code and it dont work
  #4  
Old October 27th, 2008, 12:01 AM posted to microsoft.public.word.mailmerge.fields
Barry Baker[_2_]
external usenet poster
 
Posts: 4
Default Mail Merge / excel

found that this works \# ",0.00"

But i have tried and tried the % one but cant get that to work
  #5  
Old October 27th, 2008, 01:47 AM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default Mail Merge / excel

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" wrote in message
...
found that this works \# ",0.00"

But i have tried and tried the % one but cant get that to work



  #6  
Old October 27th, 2008, 07:41 AM posted to microsoft.public.word.mailmerge.fields
Graham Mayor
external usenet poster
 
Posts: 18,297
Default Mail Merge / excel

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



  #7  
Old December 22nd, 2008, 10:17 PM posted to microsoft.public.word.mailmerge.fields
Pat[_5_]
external usenet poster
 
Posts: 19
Default Mail Merge / excel

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




  #8  
Old December 23rd, 2008, 12:06 AM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,239
Default Mail Merge / excel

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" .(donotspam) wrote in message
...
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






  #9  
Old December 23rd, 2008, 12:19 AM posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
external usenet poster
 
Posts: 4,550
Default Mail Merge / excel

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%

  #10  
Old December 23rd, 2008, 12:29 AM posted to microsoft.public.word.mailmerge.fields
Pat[_5_]
external usenet poster
 
Posts: 19
Default Mail Merge / excel

Great! I will try that.

Thank you BOTH for your help.

Have a great evening!


--
Thanks, Pat


"Peter Jamieson" wrote:

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%


 




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 09:40 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.