Yeah, both works well, using the function name as SUBTOTAL() and
.formulaLocal = "=SUBTOTALES(9," + elrango + ")"
are working fine.
Thanks again Sergey
By two common phrases in his vocabulary, we know Hercule Poirot was a great Developer: his use of "the little grey cells" and "order and method".