I was wondering if anyone could help me with this code. I am trying to take a couple of cells (A1:A3) and put them into different cells, 1 right after another. When I try this with the code below, it only does the range of A1.
Sub wordbrk()
Dim x, c As Range, y As Integer
x = Split(Range("A1:A3"), " ")
For Each c In Range("H1:L100")
If y > UBound(x) Then Exit For
c = Trim(x
)
y = y + 1
Next
End Sub
Thank you!!
Sub wordbrk()
Dim x, c As Range, y As Integer
x = Split(Range("A1:A3"), " ")
For Each c In Range("H1:L100")
If y > UBound(x) Then Exit For
c = Trim(x
y = y + 1
Next
End Sub
Thank you!!