suppress decimal point combine print word and excel

T

thomas

When I use word to combine print (office 2002).
some excel numberic value is long than I expect, I want to suppress decimal
point only two digital .
for example 20.22233222424 trans to 20.22
how can I do ?
[email protected]
 
F

Frank Kabel

Hi
in Word you can apply a format to imported fields or round your data in
the Excel file with ROUND
 
D

Debra Dalgleish

In the Mail Merge, after you select your Excel file as a data source,
you should see a 'Confirm Data Source' dialog box.
(If you don't see the dialog box, change the setting in Word --
under Tools>Options, General -- add a check mark to
'Confirm Conversion at Open')

From that list, choose 'MS Excel Worksheets via DDE (*.xls)', and your
formatting will be retained.

If you have to connect through a different source, you can format the
fields in the Word document. For example, to specify a number of decimals:

1. In Word, in the Main Document, press Alt+F9 to view the field codes.
2. Find the field code for the number. It will look something like:
{ MERGEFIELD FieldName }
3. Add a switch, to format the number with a comma separator.
For example:
{ MERGEFIELD FieldName \# "#,##0" }
4. Press Alt+F9 to hide the field codes.
5. Save the Main Document
 
Top