View Single Post
  #1   Report Post  
bubberz
 
Posts: n/a
Default Format single column cells to be 6 characters long


I have a sheet with a single column, but there are about 3700 rows.
Some are 4 to 5 characters long. I need them all 6 char long.

Below is kinda what I need to do (add zeros to the left side to make
the cells 6 chars long):

If Len(x) = 4 then "00"+X
Else
If len(x) = 5 then "0"+X
End If


--
bubberz
------------------------------------------------------------------------
bubberz's Profile: http://www.excelforum.com/member.php...o&userid=27181
View this thread: http://www.excelforum.com/showthread...hreadid=466838