amandeep08
Board Regular
- Joined
- Mar 20, 2011
- Messages
- 130
- Office Version
- 365
I Have one macro. I want that if the data in Column P is non blank only then this macro run on respective cell in column Q. If the cell is blank in column P, then same row in column Q will be blank. Below is the macro
Sub OddRowAlert()
With Range("q2:q100")
.Formula = "=IF((MOD(ROW(q2),2)),""B"",""A"")"
.Formula = .Value
End With
End Sub
Pl help
Sub OddRowAlert()
With Range("q2:q100")
.Formula = "=IF((MOD(ROW(q2),2)),""B"",""A"")"
.Formula = .Value
End With
End Sub
Pl help