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  

formatting w/mailmerge



 
 
Thread Tools Display Modes
  #1  
Old April 13th, 2010, 04:52 PM posted to microsoft.public.word.mailmerge.fields
JCook
external usenet poster
 
Posts: 7
Default formatting w/mailmerge

I have an Excel Worksheet that I am merging into a Word document. The value
in Excel is formatted with 2 decimal places which is what we want in our Word
Document however, when we merge, we are seeing the value in expanded notation
with about 12 digits. How do I prevent this?
  #2  
Old April 13th, 2010, 06:04 PM posted to microsoft.public.word.mailmerge.fields
Peter Jamieson
external usenet poster
 
Posts: 4,550
Default formatting w/mailmerge

Typically,
a. use Alt-F9 to reveal the field codes. You should see something like
{ MERGEFIELD myamount }
or
{ MERGEFIELD myamount \*Mergeformat }

where "myamount" is the column name of your number.
b. delete \*Mergeformat if you see it, and type in a "numeric format
switch" so your field looks as follows:

{ MERGEFIELD myamount \#"0.00" }

If it is a currency amount, insert your currency symbol at the
beginning, e.g.

{ MERGEFIELD myamount \#"$0.00" }

If you need a thousands separator, do it like this:

{ MERGEFIELD myamount \#"$,0.00" }

In this case, $ is the currency sign, "," is the thousands separator set
up in regional options, and "." is the decimal point set up in regional
options. So substitute those values as necessary, or if it isn

Peter Jamieson

http://tips.pjmsn.me.uk

On 13/04/2010 16:52, jcook wrote:
I have an Excel Worksheet that I am merging into a Word document. The value
in Excel is formatted with 2 decimal places which is what we want in our Word
Document however, when we merge, we are seeing the value in expanded notation
with about 12 digits. How do I prevent this?

 




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 07:31 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.