Manthux,
Try something like this:
Sub manthux()
Dim str As String
Dim num As Integer
Dim rng As Range
Set rng = ActiveCell
num = Len(rng) - 15
str = rng.Value
If Len(rng) > 15 Then
rng.Offset(1, 0).Value = Right(str, num)
rng.Value = Left(str, 15)
End If
End Sub
Its not set up for with an event handler so you'll have to run it with a short cut key or something like that. Its also not set up to loop through the whole spreadsheet (although it could be set up that way). Its only set up to run on the cell you have selected.
Bookmarks