ExcelScript.PivotTableStyle interface

Represents a PivotTable style, which defines style elements by PivotTable region.

Methods

delete()

Deletes the PivotTable style.

duplicate()

Creates a duplicate of this PivotTable style with copies of all the style elements.

getName()

Specifies the name of the PivotTable style.

getReadOnly()

Specifies if this PivotTableStyle object is read-only.

setName(name)

Specifies the name of the PivotTable style.

Method Details

delete()

Deletes the PivotTable style.

delete(): void;

Returns

void

duplicate()

Creates a duplicate of this PivotTable style with copies of all the style elements.

duplicate(): PivotTableStyle;

Returns

getName()

Specifies the name of the PivotTable style.

getName(): string;

Returns

string

getReadOnly()

Specifies if this PivotTableStyle object is read-only.

getReadOnly(): boolean;

Returns

boolean

setName(name)

Specifies the name of the PivotTable style.

setName(name: string): void;

Parameters

name

string

Returns

void