Thread
:
How do I shorten a 17 digit field to a 6 digit field?
View Single Post
#
3
Posted to microsoft.public.excel.programming
Don Guillett
external usenet poster
Posts: 10,124
How do I shorten a 17 digit field to a 6 digit field?
Sub shorten()
For i = 1 To Cells(Rows.Count, "e").End(xlUp).Row
Cells(i, "e").Value = Right(Cells(i, "e"), 6)
Next i
End Sub
--
Don Guillett
SalesAid Software
"Paul Bass" <Paul
wrote in message
...
I am using Microsoft Exce 2002. I am trying to shorten a few hundred 17
digit alphanumeric fields to just the last 6 digits of the 17 digit
fields.
Any ideas would be helpful.
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett