To get around the limitation that Range.FormulaArray cannot accept a formula more than 255 chars in length, I use this work around:
long_formula_part1 = "=ZZZ(""a"",""b"",""c"",""somekey=tick,tock,jog"",dummy"
long_formula_part2 = ",""e"",""f"",""g"")"
to_replace = ",dummy"
act_formula = "ABC"...