Edit

Share via


PivotField.AutoShow(Int32, Int32, Int32, String) Method

Definition

Displays the number of top or bottom items for a row, page, or column field in the specified PivotTable report.

public:
 void AutoShow(int Type, int Range, int Count, System::String ^ Field);
public void AutoShow (int Type, int Range, int Count, string Field);
Public Sub AutoShow (Type As Integer, Range As Integer, Count As Integer, Field As String)

Parameters

Type
Int32

Required Integer. Use xlAutomatic to cause the specified PivotTable report to show the items that match the specified criteria. Use xlManual to disable this feature.

Range
Int32

Required Integer. The location at which to start showing items. Can be either of the following constants: xlTop or xlBottom.

Count
Int32

Required Integer. The number of items to be shown.

Field
String

Required String. The name of the base data field. You must specify the unique name (as returned from the SourceName property) and not the displayed name.

Applies to