Chrissirhc
Programmer
Hi,
Why can I not use the below code:
counter = argA + argB
range("A1").formula = "=if(autorun, " & counter & ", Hello)"
I get the "application-definted or object-defined error" debug window.
But I can do
range("A1").formula = "=if(autorun, 55 , Hello)"
fine.
Why can't I do the first thing I am trying?
Thanks,
Chris
Why can I not use the below code:
counter = argA + argB
range("A1").formula = "=if(autorun, " & counter & ", Hello)"
I get the "application-definted or object-defined error" debug window.
But I can do
range("A1").formula = "=if(autorun, 55 , Hello)"
fine.
Why can't I do the first thing I am trying?
Thanks,
Chris