Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / June 2005

Tip: Looking for answers? Try searching our database.

Word adds extra decimal places to number fields when merging why?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark - 30 Jun 2005 12:56 GMT
I am merging values from an Excel spreadsheet into a Word document. Some of
the fields' values are money (numbers to 2 decimal places), but when they
appear in the merged document they appear with 14 decimal places.
For example:
172.68 in the spreadsheet appears as 172.67999999999998 in the letter!
I cannot understand why!
I thought it might be a rounding error, because the excel field was an
addition of a few other fields, so I changed the spreadsheet. Doing the
addition manually and typing the column of numbers with just two decimal
places, but this did not change the way that Word treated them when I did the
mail merge.
Does anyone have any ideas how I can stop this from happening?
Graham Mayor - 30 Jun 2005 13:14 GMT
You need a formatting switch -
http://www.gmayor.com/formatting_word_fields.htm

Signature

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

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

> I am merging values from an Excel spreadsheet into a Word document.
> Some of the fields' values are money (numbers to 2 decimal places),
[quoted text clipped - 9 lines]
> them when I did the mail merge.
> Does anyone have any ideas how I can stop this from happening?
Mark - 30 Jun 2005 14:47 GMT
Thank you very much, it is now working lovely!

> You need a formatting switch -
> http://www.gmayor.com/formatting_word_fields.htm
[quoted text clipped - 12 lines]
> > them when I did the mail merge.
> > Does anyone have any ideas how I can stop this from happening?

Rate this thread:






 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.