I'm having a small problem with a VB script which parses two words into one single word. It works for the first row but not the following rows.
Can anybody please help me - I think the answer is looking right at me!?!
Can anybody please help me - I think the answer is looking right at me!?!
Code:
Sub Remove()
Dim LR As Long, i As Long
LR = Range("A" & Rows.Count).End(xlUp).Row
For i = 1 To LR
With Range("A" & i)
.Offset(, 1).Value = Replace(.Value, " ", "")
End With
Next i
End Sub