Limit merge to 2 decimal place

F

Francis

I am merging data from excel spreadsheet into a form in Word. The form has
cells in it that were create in excel.
The column of numbers in source excel is formated to 2 decimal places. When
I merge data into the word document cells, the number extends out to 15
places.
I have tried reducing the cell size, but the cell expands when i merge the
data.


3 To 10 Days
55.550000000000004
 
P

Peter Jamieson

Use Alt-F9 in Word to show the field codes, then change e.g.

{ MERGEFIELD mynumber }
to
{ MERGEFIELD mynumber \#0.00 }

(you can usually get rid of " \*Mergeformat " if you see that)
 
F

Francis

thanks for your help, but it is still there.

Peter Jamieson said:
Use Alt-F9 in Word to show the field codes, then change e.g.

{ MERGEFIELD mynumber }
to
{ MERGEFIELD mynumber \#0.00 }

(you can usually get rid of " \*Mergeformat " if you see that)
 
G

Graham Mayor

Update the field after making the change - F9

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


<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
 

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