montecarlo2012
Well-known Member
- Joined
- Jan 26, 2011
- Messages
- 986
- Office Version
- 2010
- Platform
- Windows
Hi.
I think maybe I can get some help here.
so I write this basic formula
and work, but when I tried like
and even worst like
and according to the theory say that B2 is equal to cells(2,2),so.......
anyone can explain me this.
Please
Thank you for reading
I think maybe I can get some help here.
so I write this basic formula
VBA Code:
Sub iii()
Range("AQ2").Formula = "=TRUNC(SQRT(B4^2+B3^2))"
End Sub
and work, but when I tried like
VBA Code:
Sub mrexcel()
Range("AQ2").Formula = "=TRUNC(SQRT(Cells(4, 2)^2 + Cells(3, 2)^2))"
End Sub
and even worst like
VBA Code:
Sub mx()
Cells(2, 43).Formula = "=TRUNC(SQRT(Cells(4, 2)^2 + Cells(3, 2)^2))"
End Sub
and according to the theory say that B2 is equal to cells(2,2),so.......
anyone can explain me this.
Please
Thank you for reading