format method

format(self, pivot_area, style)

Formats selected area of the PivotTable.


def format(self, pivot_area, style):
    ...
ParameterTypeDescription
pivot_areaPivotAreaThe selected pivot view area.
styleStyleThe formatted setting.

format(self, ca, style)

Formats selected area of the PivotTable.


def format(self, ca, style):
    ...
ParameterTypeDescription
caCellAreaThe range of the cells.
styleStyleThe style

format(self, row, column, style)

Format the cell in the pivottable area


def format(self, row, column, style):
    ...
ParameterTypeDescription
rowintRow Index of the cell
columnintColumn index of the cell
styleStyleStyle which is to format the cell

See Also