data format error

Z

ZGH

I used a Excel file as mailmerge's data source.But the data,such as 2.4, in
excel, changed to a long format,such as 2.39999999, in word document. I
don't want these changes.Some suggestions?
Thanks
 
M

macropod

Hi,

You'll probably find that your Excel data really is as Word shows it, but
you've got the cells in Excel formatted to show the rounded off result. To
achieve a rounded off result in Word, you can either round the data off
correctly in Excel, or apply a numeric picture switch to the Word
MERGEFIELD. To do the latter:
.. select the Word MERGEFIELD and press Shift-F9. You should see something
like-
{MERGEFIELD ExcelData}
.. edit the Word MERGEFIELD to look like-
{MERGEFIELD ExcelData \# 0.0}
.. press F9
.. run your mailmerge.

See Word's help file for more information on field formatting

Cheers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top