I'm trying to place this formula
in a cell. I'm using
but instead of the formula it's placing it's result.
This formula will eventually be copied down to the last row of a variable $D$1:D...nth row.
Thanx for your preciuos help.
Excel Formula:
=IF(COUNTIF($D$1:D1,"="&D1)>1,TRUE,FALSE)
VBA Code:
Range("F1").Formula = "=IF(COUNTIF($D$1:D1,"="&D1)>1,TRUE,FALSE)"
This formula will eventually be copied down to the last row of a variable $D$1:D...nth row.
Thanx for your preciuos help.