From a55f354eb3d0c6c1b9a543ff8ff98227aa6063a6 Mon Sep 17 00:00:00 2001 From: xuri Date: Tue, 17 Aug 2021 00:01:44 +0800 Subject: This closes #989, closes #990 New API: `SetRowStyle` support for set style for the rows Update documentation for the `GetRows`, `SetCellStyle` and `SetColStyle` --- lib.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib.go') diff --git a/lib.go b/lib.go index 81f1e53..424d3f9 100644 --- a/lib.go +++ b/lib.go @@ -196,7 +196,7 @@ func CellNameToCoordinates(cell string) (int, int, error) { return -1, -1, fmt.Errorf(msg, cell, err) } if row > TotalRows { - return -1, -1, fmt.Errorf("row number exceeds maximum limit") + return -1, -1, ErrMaxRows } col, err := ColumnNameToNumber(colname) return col, row, err -- cgit v1.2.1