L
Legacy 436357
Guest
Hi is there a code that will cut and paste in a range if cell D is not blank and paste in cell B?
Thank you
Thank you
If not isnull(range("D" & i) then
Range("D" & i).copy Range("B" & i)
Sub xjohnson()
Dim i as long, lr as long
lr = Range("A" & rows.count).end(xlup).row
For i = 1 to lr
Range("A" & i)= Range("C" & i)
Range("B" & i) = Range("D" & i)
Next i
End Sub