Skip to content

Commit

Permalink
Update checkSheet
Browse files Browse the repository at this point in the history
  • Loading branch information
lujin1 authored Oct 17, 2023
1 parent b52db71 commit 25173e9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions excelize.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,10 +332,14 @@ func (ws *xlsxWorksheet) checkSheet() {
}
row++
r.R = row
sheetData.Row[row-1] = r
if len(sheetData.Row) > row-1 {
sheetData.Row[row-1] = r
}
}
for i := 1; i <= row; i++ {
sheetData.Row[i-1].R = i
if len(sheetData.Row) > i-1 {
sheetData.Row[i-1].R = i
}
}
ws.checkSheetR0(&sheetData, &r0)
}
Expand Down

0 comments on commit 25173e9

Please sign in to comment.