Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
make 1234 - 012034
I have a cell with a 4 digit number that i need to convert to 6 digit with
zeros. Is there a way i can do this in a macro? I have 1234 I need 012034 thanks. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
make 1234 - 012034
How about
="0"&LEFT(A1,2)&"0"&RIGHT(A1,2) In macro, substitute A1 with range "Daniel M" wrote: I have a cell with a 4 digit number that i need to convert to 6 digit with zeros. Is there a way i can do this in a macro? I have 1234 I need 012034 thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Copied number eg 1234- to display as (1234.00) in red in Excel | Excel Worksheet Functions | |||
Changing 123456 to $1234.56 | Excel Worksheet Functions | |||
how do I add all numbers in the same cell... 1234 = 10 | Excel Discussion (Misc queries) | |||
Changing 1234.00- to -1234.00 automatically | Excel Discussion (Misc queries) | |||
how to change (555)123-1234 to 5551231234 | Excel Discussion (Misc queries) |