Delete characters from behind if too many
Hi Isabelle,
Unfortunately your new suggestion does not work as I want.
Take a look of my desription to Claus Busch.
Kaj Pedersen
"isabelle" skrev i en meddelelse
...
hi,
For Each c In Range("A1:A10")
Select Case Len(c)
Case 1 To 10: GoTo Nxt
Case Is <= 20: Range(c.Address) = Left(c, 10)
Case Is = 20: Range(c.Address) = Left(c, Len(c) - 10)
End Select
Nxt:
Next
--
isabelle
|