diff options
author | xuri <xuri.me@gmail.com> | 2020-04-23 02:01:14 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2020-04-23 02:01:14 +0800 |
commit | 1fe660df648422a53eef0c735657cb2f5237ef7b (patch) | |
tree | 6b1274e37fa6505b840eb1187bd42650908ca69b /cell.go | |
parent | 10115b5d889bb229d8707803b9413b20fe798588 (diff) |
- Resolve #485 use sheet index instead of ID
- added 3 internal function: getSheetID, getActiveSheetID, getSheetNameByID
Diffstat (limited to 'cell.go')
-rw-r--r-- | cell.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -337,7 +337,7 @@ func (f *File) SetCellFormula(sheet, axis, formula string, opts ...FormulaOpts) } if formula == "" { cellData.F = nil - f.deleteCalcChain(f.GetSheetIndex(sheet), axis) + f.deleteCalcChain(f.getSheetID(sheet), axis) return err } |