Latest version throwing an exception in ExcelWorkSheet.cs method SavePivotTables when using a template with pivot tables.
problem line
```
var ws = Workbook.Worksheets[pt.CacheDefinition.SourceRange.WorkSheet];
```
SourceRange is null in the Sheet I am saving.
Comments: Throwing my voice out there, too. Had the exact same issue and it was related to having a PivotTable linked to a named table instead of an explicit range.
problem line
```
var ws = Workbook.Worksheets[pt.CacheDefinition.SourceRange.WorkSheet];
```
SourceRange is null in the Sheet I am saving.
Comments: Throwing my voice out there, too. Had the exact same issue and it was related to having a PivotTable linked to a named table instead of an explicit range.