summaryrefslogtreecommitdiff
path: root/cell.go
diff options
context:
space:
mode:
Diffstat (limited to 'cell.go')
-rw-r--r--cell.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cell.go b/cell.go
index a1b6dbf..36f2d93 100644
--- a/cell.go
+++ b/cell.go
@@ -235,7 +235,7 @@ func (f *File) SetCellFormula(sheet, axis, formula string) error {
}
if formula == "" {
cellData.F = nil
- f.deleteCalcChain(axis)
+ f.deleteCalcChain(f.GetSheetIndex(sheet), axis)
return err
}