I am trying to write some vba code to be able to do the following:
If cell p9 equals True, then B10 equals OFF.
I have tried
If Sheet2.Range("B9").Value > "" And Sheet2.Range("P9").Value = "TRUE" Then
Sheet2.Range("B10").Value = "OFF"
I have made P9 equal True and I still get no result whatsoever.
I can't seem to find what I'm missing.
Can anyone help?
If cell p9 equals True, then B10 equals OFF.
I have tried
If Sheet2.Range("B9").Value > "" And Sheet2.Range("P9").Value = "TRUE" Then
Sheet2.Range("B10").Value = "OFF"
I have made P9 equal True and I still get no result whatsoever.
I can't seem to find what I'm missing.
Can anyone help?