I have the following Macro below which takes a few mins to run (number of rows only 292 and up to col O)
It would be appreciated if someone could amend so it runs faster
Code:
Sub Delete_Stock_Transferred_toanotherBranch()
With Sheets(2)
Dim lr As Long
Dim i As Long
lr = .Cells(Rows.Count, "O").End(xlUp).Row
For i = lr To 2 Step -1
If .Cells(i, 15).Value = "Transferrred to another branch" Then
Cells(i, 15).EntireRow.Delete
End If
Next i
End With
End Sub
It would be appreciated if someone could amend so it runs faster