Hi I need to move a range of cells in each row (scanned) that contains a cell in a specific column (could be any column in my case, but in my code it is colomn "E") which value start by the text string l. Here is what I've tried (I'm new to VBA). In this case I want to move Ji:Mi
to Ki:Ni
, where i
is row number.
Sub Move2()
For i = 48 To 31 Step -1
If Range("E" & i) = "*l" Then
Range("J" & i & ":" & "M" & i).Cut
Range("K" & i & ":" & "N" & i).Select
ActiveSheet.Paste
End If
Next i
End Sub