Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
elmurado
 
Posts: n/a
Default decimal place and merging to word doc.

We have a merged .doc which is taking its data from an excel sheet. The excel
sheet has several cells which have two d.p's
However, when some of the data from the cells are merged into the .doc they
become 3,4 or 5 d.p's
We just ant them to stay at 1.dp when they appear there.

Is this to do with the fact that excel uses doubles for storing the numbers
themselves and so they are stored at a greater d.p than is actually
displayed? And if two cells are multipled/divided do the d.p.s increase?

Thanks

  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

Yes, Word will see the stored value, not the displayed value. Use a
numeric switch in your Word merge doc's field(s).

In article ,
"elmurado" wrote:

We have a merged .doc which is taking its data from an excel sheet. The excel
sheet has several cells which have two d.p's
However, when some of the data from the cells are merged into the .doc they
become 3,4 or 5 d.p's
We just ant them to stay at 1.dp when they appear there.

Is this to do with the fact that excel uses doubles for storing the numbers
themselves and so they are stored at a greater d.p than is actually
displayed? And if two cells are multipled/divided do the d.p.s increase?

Thanks

  #3   Report Post  
elmurado
 
Posts: n/a
Default

Thanks JE--could you suggest a numeric switch? I'm not too sure what form it
should take here.

"JE McGimpsey" wrote:

Yes, Word will see the stored value, not the displayed value. Use a
numeric switch in your Word merge doc's field(s).

In article ,
"elmurado" wrote:

We have a merged .doc which is taking its data from an excel sheet. The excel
sheet has several cells which have two d.p's
However, when some of the data from the cells are merged into the .doc they
become 3,4 or 5 d.p's
We just ant them to stay at 1.dp when they appear there.

Is this to do with the fact that excel uses doubles for storing the numbers
themselves and so they are stored at a greater d.p than is actually
displayed? And if two cells are multipled/divided do the d.p.s increase?

Thanks


  #4   Report Post  
JE McGimpsey
 
Posts: n/a
Default

In article ,
"elmurado" wrote:

Thanks JE--could you suggest a numeric switch? I'm not too sure what form it
should take here.


Take a look at the

Numeric Picture (\#) field switch

topic in Word Help
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 09:34 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"