G
Guest
First time set formula name.
Can I set a name to a formula's by refering to certain cell's value in other
worksheet?
And, can I use a variable (this case is "C") in the formula and define it
later when calling this named fomula?
ActiveWorkbook.Names.Add Name = Range("legend!A2").Value, RefersToR1C1 =
"=N(INDIRECT(RC[-15]&""_""&R[" & (1 - C) & "]C[-16]))"
Thanks for advise!
Can I set a name to a formula's by refering to certain cell's value in other
worksheet?
And, can I use a variable (this case is "C") in the formula and define it
later when calling this named fomula?
ActiveWorkbook.Names.Add Name = Range("legend!A2").Value, RefersToR1C1 =
"=N(INDIRECT(RC[-15]&""_""&R[" & (1 - C) & "]C[-16]))"
Thanks for advise!