S
STEVE
For example,
1081004cw How can I get the last two characters
chopped off of that.
1081004cw How can I get the last two characters
chopped off of that.
Ron de Bruin said:Hi John
With your data in column A
Sub test2()
Dim cell As Range
For Each cell In Columns("A").SpecialCells(xlCellTypeConstants)
If Len(cell) >= 2 Then
cell.Value = _
Left(cell, Len(cell) - 2)
End If
Next
End Sub
adjoining column, where they can be deleted if necessary.
Ken Wright said:This moves the last two characters out of the original column into the next
adjoining column, where they can be deleted if necessary.
I am from the MS Excel support department at
http://www.enterpriseprojectconsulting.com and we would be happy to assist
you in resolving your issue.