.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
Row

PivotTable.ChangeDataSource Method

Name Parameters Description
ChangeDataSource(CellRange) sourceRange Changes the data source for the PivotTable report.
ChangeDataSource(PivotCache) cache Changes the data source for the PivotTable report.