diff options
Diffstat (limited to 'pivotTable.go')
-rw-r--r-- | pivotTable.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pivotTable.go b/pivotTable.go index 10c48ce..73e5d34 100644 --- a/pivotTable.go +++ b/pivotTable.go @@ -190,7 +190,7 @@ func (f *File) parseFormatPivotTableSet(opt *PivotTableOption) (*xlsxWorksheet, if err != nil { return dataSheet, "", err } - pivotTableSheetPath, ok := f.sheetMap[trimSheetName(pivotTableSheetName)] + pivotTableSheetPath, ok := f.getSheetXMLPath(pivotTableSheetName) if !ok { return dataSheet, pivotTableSheetPath, fmt.Errorf("sheet %s is not exist", pivotTableSheetName) } |