diff options
Diffstat (limited to 'excelize.go')
-rw-r--r-- | excelize.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/excelize.go b/excelize.go index 95bce34..73c6eda 100644 --- a/excelize.go +++ b/excelize.go @@ -80,7 +80,7 @@ func (f *File) setDefaultTimeStyle(sheet, axis string) { // workSheetReader provides function to get the pointer to the structure after // deserialization by given worksheet index. func (f *File) workSheetReader(sheet string) *xlsxWorksheet { - name, ok := f.sheetMap[sheet] + name, ok := f.sheetMap[trimSheetName(sheet)] if !ok { name = "xl/worksheets/" + strings.ToLower(sheet) + ".xml" } |