montecarlo2012
Well-known Member
- Joined
- Jan 26, 2011
- Messages
- 985
- Office Version
- 2010
- Platform
- Windows
Hi,
According to the reference cells theory:
Using Range Method: Range (“C5”)
Using Cells Method: Cells (5, 3)
Supposedly are equal so
why this macro work
and this one Don't
Thanks.
According to the reference cells theory:
Using Range Method: Range (“C5”)
Using Cells Method: Cells (5, 3)
Supposedly are equal so
why this macro work
VBA Code:
Sub Macro2()
Range("C5").Formula = "=IF(C1<D1,TRUE,FALSE)"
End Sub
and this one Don't
VBA Code:
Sub MACRO3()
Cells(5, 3).Formula = "=IF(C1<D1,TRUE,FALSE)"
End Sub