From 0072bb731043f89ce978778b9d7fdc6160e29de0 Mon Sep 17 00:00:00 2001 From: xuri Date: Fri, 22 Feb 2019 22:17:38 +0800 Subject: resolve the issue corrupted xlsx after deleting formula of cell, reference #346 --- col.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'col.go') diff --git a/col.go b/col.go index af2c321..1130c3a 100644 --- a/col.go +++ b/col.go @@ -322,6 +322,10 @@ func (f *File) InsertCol(sheet, column string) { // // xlsx.RemoveCol("Sheet1", "C") // +// Use this method with caution, which will affect changes in references such +// as formulas, charts, and so on. If there is any referenced value of the +// worksheet, it will cause a file error when you open it. The excelize only +// partially updates these references currently. func (f *File) RemoveCol(sheet, column string) { xlsx := f.workSheetReader(sheet) for r := range xlsx.SheetData.Row { -- cgit v1.2.1