Hi,
I hope all is well.
Im doing my head in with the following expression:
varRowForBudgets is currently 2000, replacing on the above:
I want VBA to write a formula in i2000
the formula i need written on cell i2000 is meant to be: =g2000/g2010
Im getting a compile error targeting "/" on the above expression.
Could anyone shed some light on this issue?
Regards,
Juan Arango
I hope all is well.
Im doing my head in with the following expression:
Code:
Range("i" & varRowForBudgets).Formula = "=g "& varRowForBudgets&"/ g "& varRowForBudgets+10&""
Range("i" & varRowForBudgets).NumberFormat = "0.00%"
varRowForBudgets is currently 2000, replacing on the above:
I want VBA to write a formula in i2000
the formula i need written on cell i2000 is meant to be: =g2000/g2010
Im getting a compile error targeting "/" on the above expression.
Could anyone shed some light on this issue?
Regards,
Juan Arango
Last edited: