Hello everyone - I am trying to create a macro that has in if then statement that is relying on whether or not the value of one cell is found within the range of a bunch of cells. It looks like the below. Any suggestions?
If ActiveCell.Value <> Range("F7:F130").Value Then
ActiveCell.Offset(0, 1).Select
Else: Selection.EntireRow.Select
Selection.Delete
End If
If ActiveCell.Value <> Range("F7:F130").Value Then
ActiveCell.Offset(0, 1).Select
Else: Selection.EntireRow.Select
Selection.Delete
End If