Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit 3138af4

Browse files
committed
issue 817 autoFilterBounds could have one element only, in this case use it as second param of AutoFilter
1 parent a5fce8a commit 3138af4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sheet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@ func handleNumFmtIdForXLSX(NumFmtId int, styles *xlsxStyleSheet) (XfId int) {
951951

952952
func IsSaneSheetName(sheetName string) error {
953953
runeLength := utf8.RuneCountInString(sheetName)
954-
if runeLength > 43 || runeLength == 0 {
954+
if runeLength > 31 || runeLength == 0 {
955955
return fmt.Errorf("sheet name must be 31 or fewer characters long. It is currently '%d' characters long", runeLength)
956956
}
957957
// Iterate over the runes

0 commit comments

Comments
 (0)