Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
In VBA I'd like to format numbers with a fixed width. I want to pad blanks
to the front of the formatted number to get to the desired width. I know there is a function that returns a desired number of spaces. What is it? Then I can write a short function where I format the number, measure its width, and then tack on the spaces needed. Or is there an easier way that I'm missing? Like a string to give Excel's Format function that makes it return a desired width? Don <donwiss at panix.com. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Padding a text column with leading zeros | Excel Discussion (Misc queries) | |||
Padding with leading zeros | Excel Discussion (Misc queries) | |||
how do I remove leading spaces and leave the remianing spaces w | Excel Worksheet Functions | |||
Padding Numbers | Excel Programming | |||
Padding out reference numbers | Excel Programming |