I am trying to loop through every cell in column "C" and bold the entire row when the value of the cell in Column C matches the search criteria, but I keep getting the type mismatch error. The code is simple enough but for some probably obvious reason I keep receiving the error message. I know there are other ways to do this, but for learning purposes I want to know why I am getting a type mismatch.
Dim cell As Range For Each cell In Columns("C") If cell.Value = "RW" Then Rows(cell.Row).Font.Bold = True End If Next cell
Bookmarks