Rafael Alvares Tubero
New Member
- Joined
- Mar 18, 2011
- Messages
- 45
hello everybody,
I was trying to fill a range with a formula, but from a vba program.
like...
Range("A1") = "IF(B1 <>" & i & ";Yes; "" )"
but where is in red where it should give empty as a answer, it gives a error.
If I wrote directly at Range A1 it would be =IF(B1 <> 0;"YES";"").
But how can I attach at range A1 writing from vba?
Thanks,
Rafael
I was trying to fill a range with a formula, but from a vba program.
like...
Range("A1") = "IF(B1 <>" & i & ";Yes; "" )"
but where is in red where it should give empty as a answer, it gives a error.
If I wrote directly at Range A1 it would be =IF(B1 <> 0;"YES";"").
But how can I attach at range A1 writing from vba?
Thanks,
Rafael