Do I understand correctly that if I use a command like
Set myRange.formula = "=ROW(mySheet!R12)"
will my macro cause #NAME?
error #NAME?
in cells, if it is running, say, in Russian Excel. I mean, in this case, the above formula must be hardcoded, for example
Set myRange.formula = "=(mySheet!R12)"
where LINE is the Russian analogue of the SUM function. I would not expect Excel to be smart enough to translate formulas at run time. So, is there a way around this and, most importantly, what is the most common code for a macro to work correctly, regardless of language?
source share