Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
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 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to add new currency Symbol in Format/Cell/Currency | Excel Discussion (Misc queries) | |||
Format Currency Cell | Excel Worksheet Functions | |||
How to set 2 currency format in 1 cell?? | Excel Discussion (Misc queries) | |||
Format Currency in-cell | Excel Worksheet Functions | |||
How to Revert to ActiveCell.Formula = format from ActiveCell.FormulaR1C1 = format | Excel Programming |