I need to update the values in column A based on the value in column B.
Here is the code:
If Range("A2").Value = "refrin" Then
Range("B2").Value = "RefrinDHP"
Else
End If
If Range("A3").Value = "refrin" Then
Range("B3").Value = "RefrinDHP"
etc......
I need to continue it until the end of the column.
Do I need to use a loop? Can you help please?
Here is the code:
If Range("A2").Value = "refrin" Then
Range("B2").Value = "RefrinDHP"
Else
End If
If Range("A3").Value = "refrin" Then
Range("B3").Value = "RefrinDHP"
etc......
I need to continue it until the end of the column.
Do I need to use a loop? Can you help please?