Hi All
My First question post on this forum. I have searched extensively however i was not able to get anywhere with the following statement. My aim is to delete rows if conditions for Column F and G are not met.
If column F has a certain value and Column G doesnt have defined 3 values I would like the row to be deleted.
If Cells(i, 6) = "AVALUE" And Cells(i, 7) <> "I7" Or Cells(i, 7) <> "I8" Or Cells(i, 7) <> "I9" Then Rows(i & ":" & i).EntireRow.Delete
Any help is appreciated.
My First question post on this forum. I have searched extensively however i was not able to get anywhere with the following statement. My aim is to delete rows if conditions for Column F and G are not met.
If column F has a certain value and Column G doesnt have defined 3 values I would like the row to be deleted.
If Cells(i, 6) = "AVALUE" And Cells(i, 7) <> "I7" Or Cells(i, 7) <> "I8" Or Cells(i, 7) <> "I9" Then Rows(i & ":" & i).EntireRow.Delete
Any help is appreciated.