Doesn't Bearacade's last suggestion work for you, alternatively...
=IF(LEN(A1)<6,TEXT(A1,"00000")&"-0000",A1)
--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile:
http://www.excelforum.com/member.php...o&userid=30486
View this thread:
http://www.excelforum.com/showthread...hreadid=557123