is there an efficient way of removing cells base on a cell next to it being empty?
Dim v As Integer
v = 1
For Each lol In Range("B6:B5006")
If lol.text = "" Then
Cells(v, 3).Value = ""
Cells(v, 4).Value = ""
Cells(v, 5).Value = ""
Cells(v, 6).Value = ""
End If
v = v + 1
Next lol
i want loop through a range of 6 to 5006 in column b and if it is empty then remove columns C,D,E,F which has worked for me before in smaller work but for some reason is this project when i run it max's the CPU out and will eventually crash (do not know why it does on an i3) so wondering if there was a more efficient way of doing this.