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 / November 2003

Tip: Looking for answers? Try searching our database.

Excel data merged into Word changes decimal places

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alice Frazer - 21 Nov 2003 21:16 GMT
I have a simple Excel spreadsheet where the data cells are formatted as accounting with a dollar sign (have also tried currency and number).  When I merge the fields into Word, it changes the decimal places.  I need the decimals to stay at 2 places as this number is to show currency.
macropod - 22 Nov 2003 09:33 GMT
Hi Alice,

In your word document, add the required numeric picture
switch to the mergefield, eg:
{mergefield XLdata \@ $,0.00}

Cheers

>-----Original Message-----
>I have a simple Excel spreadsheet where the data cells are formatted as accounting with a dollar sign (have also
tried currency and number).  When I merge the fields into
Word, it changes the decimal places.  I need the decimals
to stay at 2 places as this number is to show currency.
>.
Peter Jamieson - 22 Nov 2003 14:38 GMT
Minor typo  -# needed for numeric formats, e.g.

{ mergefield XLdata \#$,0.00 }

--
Peter Jamieson - Word MVP

> Hi Alice,
>
[quoted text clipped - 11 lines]
> to stay at 2 places as this number is to show currency.
> >.
Peggy - 24 Nov 2003 21:56 GMT
    I have the same problem but I don't understand the response.  Please elaborate.  Thanks
    ----- Alice Frazer wrote: ----
   
    I have a simple Excel spreadsheet where the data cells are formatted as accounting with a dollar sign (have also tried currency and number).  When I merge the fields into Word, it changes the decimal places.  I need the decimals to stay at 2 places as this number is to show currency.
Peter Jamieson - 24 Nov 2003 23:07 GMT
if you open your mail merge main document and press Alt-F9, you should see
"mergefield fields" that look something like

{ MERGEFIELD myfield }

The { and } are special "field code braces" that you cannot insert or delete
using the normal {, } or delete keys. But the rest is just plain text and
you can type some extra stuff that tells Word how to format "myfield". For
example, you could tpype " "\#$,0.00" after "myfield" so you have

{ MERGEFIELD myfield \#"$,0.00" }

Then you can use Alt-F9 to see <<myfield>> again.

try it, see if it works,if not tel us what went wrong,

--
Peter Jamieson - Word MVP

>      I have the same problem but I don't understand the response.  Please elaborate.  Thanks!
>      ----- Alice Frazer wrote: -----
>
>      I have a simple Excel spreadsheet where the data cells are formatted as accounting with a dollar sign (have also tried currency and number).
When I merge the fields into Word, it changes the decimal places.  I need
the decimals to stay at 2 places as this number is to show currency.
 
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.