This places the results from Columns "D" and "E" into "A" and "B". Per your sample Results.
Sub ash3angelz()
Dim x As Long, y As Long, z As Long, i As Long, w
ReDim w(2 To Range("E" & Rows.Count).End(3).row)
For i = LBound(w) To UBound(w)
x = Len(Cells(i, "E"))
Select Case x
Case Is = 10
Range("B" & Rows.Count).End(3)(2) = Left(Cells(i, "E"), x)
Range("A" & Rows.Count).End(3)(2) = Cells(i, "D")
Case Is = 21
Range("A" & Rows.Count).End(3)(2) = Cells(i, "D")
Range("B" & Rows.Count).End(3)(2) = Left(Cells(i, "E"), 10)
Range("B" & Rows.Count).End(3)(2) = Right(Cells(i, "E"), 10)
Range("A" & Rows.Count).End(3)(2) = " "
Case Is = 32
Range("A" & Rows.Count).End(3)(2) = Cells(i, "D")
Range("B" & Rows.Count).End(3)(2) = Left(Cells(i, "E"), 10)
Range("A" & Rows.Count).End(3)(2) = " "
Range("B" & Rows.Count).End(3)(2) = Left(Right(Cells(i, "E"), 22), 11)
Range("A" & Rows.Count).End(3)(2) = " "
Range("B" & Rows.Count).End(3)(2) = Right(Cells(i, "E"), 10)
Range("A" & Rows.Count).End(3)(2) = " "
End Select
Next i
End Sub
Bookmarks