CubeField.LayoutSubtotalLocation Property

Returns or sets the position of the PivotTable field subtotals in relation to (either above or below) the specified field.

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

Syntax

'Declaration
Property LayoutSubtotalLocation As XlSubtototalLocationType
    Get
    Set
'Usage
Dim instance As CubeField
Dim value As XlSubtototalLocationType

value = instance.LayoutSubtotalLocation

instance.LayoutSubtotalLocation = value
XlSubtototalLocationType LayoutSubtotalLocation { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlSubtototalLocationType

Remarks

XlSubtototalLocationType can be one of these XlSubtototalLocationType constants:

xlAtTop

xlAtBottom Default

You can set this property for any PivotTable field in outline format; however, the formatting appears only if the specified field is a row field other than the innermost (lowest level) row field. For non-OLAP data sources, the value of this property doesn’t change when the field is rearranged or when it is added to or removed from the report.

The LayoutForm property determines whether the report appears in table format or in outline format.

See Also

Reference

CubeField Interface

CubeField Members

Microsoft.Office.Interop.Excel Namespace