Home |
Search |
Today's Posts |
#8
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Currency and dates have different .value2 from .value
If you look at VBA's help, you'll see a description of when you can expect this behavior--it's not quite an explanation (to me), but it does describe it. " wrote: I didn't even know there was a Value2. Interesting. I still don't get why the cell format changes the value that Excel returns. Isn't the format just a MASK? When directly referencing the cell (not using any variable), I don't see why a mask changes the value. Again.. with no variables involved: ? Range("A1") You lose dp when A1 is formatted as currency. But you are correct that ? Range("A1").Value2 returns all the dp. Just trying to understand the relationship between cell format and returned values. Thanks for your insight! -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Fixed decimal places in Excel | Excel Discussion (Misc queries) | |||
Dropping decimal places whern transfering to AS400? | Excel Worksheet Functions | |||
Subtracting two 2-decimal place numbers gives result 13-decimal places? | Excel Worksheet Functions | |||
FIXED 2 DECIMAL PLACES, MUST ENTER ALL ZEROES AFTER DECIMAL POINT. | Excel Discussion (Misc queries) | |||
Decimal places in Excel 2003 | Excel Worksheet Functions |