B
Bluda
Hi Experts!
I'm confused by the way ActiveCell.Value works. Here is my problem:
I try to pull the value of a cell from a different worksheet. This
'source-cell' contains the value e.g. "6.6513" formatted as currency with two
decimal places "$6.65".
Source Sheet/Cell:
TestValue = ActiveCell.Value
Debug.Print TestValue (=shows 6.6513)
Destination Sheet/Cell:
Range("I17").Value = TestValue
The value shown in destination cell I17 now shows "$6.65" and its absolute
value is "6.65" the last two decimal places were not put in I17. The same
example with the source-cell being formatted as number with two decimal
places (instead of currency) shows also "6.65" in I17 but its absolute is
"6.6513"????
Does anyone have an explanation for me? I cannot see any logical reason
behind it...
Thank you,
Bluda
I'm confused by the way ActiveCell.Value works. Here is my problem:
I try to pull the value of a cell from a different worksheet. This
'source-cell' contains the value e.g. "6.6513" formatted as currency with two
decimal places "$6.65".
Source Sheet/Cell:
TestValue = ActiveCell.Value
Debug.Print TestValue (=shows 6.6513)
Destination Sheet/Cell:
Range("I17").Value = TestValue
The value shown in destination cell I17 now shows "$6.65" and its absolute
value is "6.65" the last two decimal places were not put in I17. The same
example with the source-cell being formatted as number with two decimal
places (instead of currency) shows also "6.65" in I17 but its absolute is
"6.6513"????
Does anyone have an explanation for me? I cannot see any logical reason
behind it...
Thank you,
Bluda