Sub sdfsdf()
Dim i
lastrow = Range("A50000").End(xlUp).Row
For i = 1 To lastrow
If Len(CStr(Cells(i, 1))) = 1 Then
Cells(i, 1).NumberFormat = "@"
Cells(i, 1) = CStr("0" & Cells(i, 1))
End If
Next
End Su
--
MattShoreso
-----------------------------------------------------------------------
MattShoreson's Profile:
http://www.excelforum.com/member.php...nfo&userid=347
View this thread:
http://www.excelforum.com/showthread.php?threadid=56371