V
Valencia Jack
Thanks to this and other forums, I've learned a little about th
Indirect function (INDIRECTO here in Spain, just as SUM is SUMA). But
can't find a way to insert one in an Excel sheet with VBA, because o
the quotes("), I suppose.
Example:
I can insert manually =SUMA(INDIRECTO("C"&D1&":C"&D2)) in
spreadsheet. D1 and D2 hold the beginning and ending rows of the rang
- determined with the program - to be summed.
I've tried...
ActiveCell.FormulaR1C1 ="=SUMA(INDIRECTO("C"&D1&":C"&D2))"
...which doesn't fly.
Can anyone help with an explanation or workaround?
Thanks - BTW, It's my first request to this forum
Indirect function (INDIRECTO here in Spain, just as SUM is SUMA). But
can't find a way to insert one in an Excel sheet with VBA, because o
the quotes("), I suppose.
Example:
I can insert manually =SUMA(INDIRECTO("C"&D1&":C"&D2)) in
spreadsheet. D1 and D2 hold the beginning and ending rows of the rang
- determined with the program - to be summed.
I've tried...
ActiveCell.FormulaR1C1 ="=SUMA(INDIRECTO("C"&D1&":C"&D2))"
...which doesn't fly.
Can anyone help with an explanation or workaround?
Thanks - BTW, It's my first request to this forum