From 43a057b1eaeb810495618d70c2dc2d3e5df1fea4 Mon Sep 17 00:00:00 2001 From: xuri Date: Thu, 12 Aug 2021 00:02:27 +0800 Subject: This closes #986, fix set data validation drop list failed in some cases Update documentation for `GetCellValue` and simplify code --- cell.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cell.go') diff --git a/cell.go b/cell.go index f44e877..9200d13 100644 --- a/cell.go +++ b/cell.go @@ -34,8 +34,8 @@ const ( // GetCellValue provides a function to get formatted value from cell by given // worksheet name and axis in spreadsheet file. If it is possible to apply a // format to the cell value, it will do so, if not then an error will be -// returned, along with the raw value of the cell. All cells value will be -// same in a merged range. +// returned, along with the raw value of the cell. All cells' values will be +// the same in a merged range. func (f *File) GetCellValue(sheet, axis string) (string, error) { return f.getCellStringFunc(sheet, axis, func(x *xlsxWorksheet, c *xlsxC) (string, bool, error) { val, err := c.getValueFrom(f, f.sharedStringsReader()) -- cgit v1.2.1