Hi so I am trying to run the following script but all it does is put "N/A" in a column and just loop through all the other cells below without doing anything.
Sub NA()
Range("E1").Select
Do Until IsEmpty(ActiveCell)
If Range("E1") = "password_update" Then If Range("G1") = Range("J1") Then Range("B1") = "N/A"
ActiveCell.Offset(1, 0).Select
Loop
End Sub
What I'm trying to do is check if the cell "E1" has the value
"password_update" in it and if yes then also check if cell "G1" and cell "J1" has matching content, and if all these criteria matches then type "N/A" to cell "B1".
I also wanted to have this script loop through all subsequent rows (E1 then E2 then E3 and so on you get the idea). Now I am no VBA expert, but I wrote this script and no matter how many times I look it makes sense to me logically but it still doesn't work. Any ideas? Help would be appreciated.