Sub Concat()
Do While ActiveCell <> ""
'The rows are filtered to display only "London"
'The changes required are for "London" only
If ActiveCell.Offset(0,0) = "London" Then
ActiveCell.Offset(0, 0).FormulaR1C1 = _
ActiveCell.Offset(0, 0) & " " & ActiveCell.Offset(0, 1)
ActiveCell.Offset(0, 1) = ""
End If
ActiveCell.Offset(1, 0).Select
Loop
End Sub
我有接近 13500 行。这行不通。我看不到任何明显的变化。