Partager via


PivotField.SourceName Property

Returns the specified object’s name as it appears in the original source data for the specified PivotTable report. This might be different from the current item name if the user renamed the item after creating the PivotTable report. Read-only String.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property SourceName As String
    Get
'Usage
Dim instance As PivotField
Dim value As String

value = instance.SourceName
string SourceName { get; }

Property Value

Type: System.String

See Also

Reference

PivotField Interface

PivotField Members

Microsoft.Office.Interop.Excel Namespace