Hi all, I wrote a small function to use in excel range, but it gives error to cell back color, Does someone know why actually it gives error in cell ??
Screenshot (1499).jpgHTML Code:Function pp(tx As Range) If tx > 1 Then pp = 103 tx.Interior.Color = vbRed End If End Function