Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am putting a value from an Excel cell into a Double variable, then
transferring that into a Word table. The Excel cells are formatted to always show the value with one decimal place. But when I put the value into the variable, if the actual number in the cell didn't have a decimal, I don't show a decimal place when the number goes into Word. I'm trying to use numData = Round(rng.Value, 1) numData = Format(numData, "000000.0") but the Format doesn't seem to do the job. How can I do this? Ed |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
A non roundup decimal place cell format | Excel Discussion (Misc queries) | |||
Subtracting two 2-decimal place numbers gives result 13-decimal places? | Excel Worksheet Functions | |||
Decimal Number Format in ComboBox | Excel Programming | |||
Converting 2-place decimal value to floating point decimal number with leading zero | Excel Discussion (Misc queries) | |||
Set default in Excel so each number entered has same decimal place | Setting up and Configuration of Excel |