Commit c611b11d authored by Alexander.Trofimov's avatar Alexander.Trofimov

fix '=Sheet1:Sheet2!A1' formula error

parent b97663c5
......@@ -1295,7 +1295,7 @@ cArea3D.prototype.getWS = function () {
return range ? range.getBBox0() : range;
};
cArea3D.prototype.isValid = function () {
return !!this.getRange();
return !!this.getRanges();
};
cArea3D.prototype.countCells = function () {
var _wsA = this.wsRange();
......
......@@ -5518,7 +5518,7 @@ Woorksheet.prototype._RecalculatedFunctions=function(cell,bad,setCellFormat){
for ( var i = 0, length = c.formulaParsed.outStack.length; i < length; i++ ) {
elem = c.formulaParsed.outStack[i];
if ( elem instanceof AscCommonExcel.cRef || elem instanceof cRef3D || elem instanceof AscCommonExcel.cArea || elem instanceof cArea3D ) {
var r = elem.getRange();
var r = elem.getRanges();
if ( elem instanceof cArea3D && r.length > 0 )
r = r[0];
if ( r && r.getNumFormatStr ) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment