Do not quote #REF for unknown 3d ref [ci skip]

This commit is contained in:
Felix Zumstein 2021-10-03 10:33:57 +02:00
parent b98a40235f
commit 12597dcf7b

@ -731,7 +731,8 @@ function get_ixti_raw(supbooks, ixti/*:number*/, opts)/*:string*/ {
}
}
function get_ixti(supbooks, ixti/*:number*/, opts)/*:string*/ {
return formula_quote_sheet_name(get_ixti_raw(supbooks, ixti, opts), opts);
var ixtiraw = get_ixti_raw(supbooks, ixti, opts);
return ixtiraw == "#REF" ? ixtiraw : formula_quote_sheet_name(ixtiraw, opts);
}
function stringify_formula(formula/*Array<any>*/, range, cell/*:any*/, supbooks, opts)/*:string*/ {
var biff = (opts && opts.biff) || 8;