Here is the revision
dim cell as Range, sStr as String
for each cell in selection
sStr = trim(cell.value)
if len(sStr) = 5 and <= 7 then
cell.value = left(sStr,len(sStr)-3) & " " & right(sStr,3)
end if
next
--
Regards,
Tom Ogilvy
"Jamie Collins" wrote in message
...
All I need to do is create a space in a postal code.
if it is always the 4th position
It's not <g. OP should see:
http://www.evoxfacilities.co.uk/evoxps.htm
Jamie.
--