Changes the data source of the pivot table. |
public void ChangeDataSource(Area newArea) |
Public Sub ChangeDataSource(ByVal newArea As Area) |
An |
If a null reference is passed in as parameter instead of a valid Area object, or if the new data source is not in the same workbook, or |