Hello all
I hope there is a bonfin out there that can help me on this please
The code below deletes lines when the value "HIRECHARGE" is in column "F"
What I am trying to do is have a tab called "References" and then a list in Column "A" that could be looped through to delete all the lines in the data file.
IE:
HIRECHARGE
CARRIAGE
and so on
Is this possible please
"LR = Range("A" & Rows.Count).End(xlUp).Row
For i = LR To 2 Step -1
If InStr(1, Range("F" & i).Value, "HIRECHARGE") = 1 Then Rows(i).Delete
Next I"
I hope there is a bonfin out there that can help me on this please
The code below deletes lines when the value "HIRECHARGE" is in column "F"
What I am trying to do is have a tab called "References" and then a list in Column "A" that could be looped through to delete all the lines in the data file.
IE:
HIRECHARGE
CARRIAGE
and so on
Is this possible please
"LR = Range("A" & Rows.Count).End(xlUp).Row
For i = LR To 2 Step -1
If InStr(1, Range("F" & i).Value, "HIRECHARGE") = 1 Then Rows(i).Delete
Next I"