主题
ShowTableStyleLastColumn (属性)
如果为指定的 PivotTable 对象显示最后一列,则返回或设置。读/写 bool。
示例
python
#本示例取消显示数据透视表的最后一列
def test():
Worksheets.Item(1).PivotTables(1).ShowTableStyleLastColumn = False
python
#本示例显示数据透视表 ShowTableStyleLastColumn 属性的数据类型,并设置为 True
def test():
print(type(ActiveSheet.PivotTables(1).ShowTableStyleLastColumn))
ActiveSheet.PivotTables(1).ShowTableStyleLastColumn = True