Try posting a sample of your data, and what you would like to do with it
Champion Cup RIO, sølv størrelse 17 cm |
Champion Cup RIO, sølv størrelse 20 cm |
Champion Cup RIO, sølv Sett med 3 |
Champion Cup Rio, gull størrelse 14 cm |
Champion Cup Rio, gull størrelse 17 cm |
Champion Cup Rio, gull størrelse 20 cm |
Champion Cup RIO, gull sett med 3 |
Informasjon Prospect Badminton |
Molten ® Basketball GG6 størrelse 6, FIBA godkjent |
Molten ® Basketball FX7 Størrelse 7, FIBA godkjent |
Sub split()
Dim Ash As Worksheet
Dim r As Range
Dim b As String
Dim LastRow As Long
Set Ash = ActiveSheet
Dim lastoc As String
Dim lastchar As Long
LastRow = Ash.Cells(Rows.Count, "A").End(xlUp).Row
lastoc = " "
Application.ScreenUpdating = False
For Each cell In Ash.Range("A1:A" & LastRow).Cells
lastchar = InStrRev(cell, lastoc)
If Len(cell) > 40 Then
b = Mid(Left(cell, 40), 1, InStrRev(Left(cell, 40), lastoc))
cell.Offset(0, 1) = Replace(cell, b, "")
cell.Value = b
End If
Next cell