Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() I'm answering my own question! Just in case anyone's interested... or has an improvement. Set TextAlign to 3. This fixes the numbers For left alignment this works for me - Function fixedlength(theString) fixedlength = Left(theString & String$(10, 9), 10 + Len(theString)) End Function ActiveWorkbook.Worksheets("Sheet1"t).Range("A1").V alue = LTrim(fixedlength("12345")) |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Use VBA to reset data validation (=list) value to first value in that list (list is a named range) | Excel Programming | |||
Compare List A to List B, Return List B Items Not in List A | Excel Programming | |||
Userform TextBox TextAlign Problem-Bug? | Excel Programming | |||
TextAlign in Combo Boxes | Excel Discussion (Misc queries) | |||
Listbox textalign | Excel Programming |