diff --git a/src/feature/excelEngine/excelEngine.ts b/src/feature/excelEngine/excelEngine.ts index 9cc777a..40a2ecb 100644 --- a/src/feature/excelEngine/excelEngine.ts +++ b/src/feature/excelEngine/excelEngine.ts @@ -140,7 +140,7 @@ export class Cell { if (!sheet) { return '"#REF!"' } - const cellValue = this.sheet.workbook.getCell(match).evaluate() + const cellValue = this.sheet.workbook.getValue(match) // Только строки оборачиваем в кавычки, числа и булевы значения - нет if (typeof cellValue === 'string') { return `"${cellValue}"` @@ -165,7 +165,7 @@ export class Cell { } try { const qualifiedRef = `${this.sheet.name}!${match}` - const cellValue = this.sheet.workbook.getCell(qualifiedRef).evaluate() + const cellValue = this.sheet.workbook.getValue(qualifiedRef) // Только строки оборачиваем в кавычки, числа и булевы значения - нет if (typeof cellValue === 'string') { return `"${cellValue}"` @@ -293,7 +293,7 @@ export class Cell { const qualifiedName = sheetName ? `${sheetName}!${cellName}` : `${this.sheet.name}!${cellName}` - const cellValue = this.sheet.workbook.getCell(qualifiedName).evaluate() + const cellValue = this.sheet.workbook.getValue(qualifiedName) const numValue = typeof cellValue === 'number' ? cellValue