I want to create a loop to check all of the rows in a sheet that I have and want this code to be able to delete rows if they contain a specified content in two certain columns (i.e. if column K matches the value in AJ1 and column J matches the value in AK1, then delete the entire row). Is there a way to code this?
This is what I tried, but I couldn't get it to work for both columns.
![]()
Please Login or Register to view this content.
Bookmarks