montecarlo2012
Well-known Member
- Joined
- Jan 26, 2011
- Messages
- 986
- Office Version
- 2010
- Platform
- Windows
Hello.
I have this formula
Range("B8").Formula = "=COUNTIF(B2:J2,B7)"
I am trying to use Cells Method like:
Cells(8, 2).formula = “=countif(“ & cells(2, 2) & “” : “” & cells(20, 2) & “, & cells(7, 2)”
but no results.
Please can you explain me why, and how to do it.
or it is not possible. I don't know,
thanks for reading.
I have this formula
Range("B8").Formula = "=COUNTIF(B2:J2,B7)"
I am trying to use Cells Method like:
Cells(8, 2).formula = “=countif(“ & cells(2, 2) & “” : “” & cells(20, 2) & “, & cells(7, 2)”
but no results.
Please can you explain me why, and how to do it.
or it is not possible. I don't know,
thanks for reading.