format方法
format(self, pivot_area, style)
格式化数据透视表的选定区域。
def format(self, pivot_area, style):
...
范围 | 类型 | 描述 |
---|---|---|
pivot_area | PivotArea | 选定的枢轴视图区域。 |
style | Style | 格式化的设置。 |
format(self, ca, style)
格式化数据透视表的选定区域。
def format(self, ca, style):
...
范围 | 类型 | 描述 |
---|---|---|
ca | CellArea | 单元格的范围。 |
style | Style | 风格 |
format(self, row, column, style)
设置数据透视表区域中单元格的格式
def format(self, row, column, style):
...
范围 | 类型 | 描述 |
---|---|---|
row | int | 单元格的行索引 |
column | int | 单元格的列索引 |
style | Style | 单元格格式的样式 |