SourceRange Property

Office Open XML

The source data range when the pivottable has a worksheet datasource. The number of columns in the range must be intact if this property is changed. The range must be in the same workbook as the pivottable.

Namespace:  OfficeOpenXml.Table.PivotTable
Assembly:  EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)

Syntax

C#
public ExcelRangeBase SourceRange { get; set; }
Visual Basic (Declaration)
Public Property SourceRange As ExcelRangeBase
Visual C++
public:
property ExcelRangeBase^ SourceRange {
	ExcelRangeBase^ get ();
	void set (ExcelRangeBase^ value);
}

See Also