RowGrand 属性 (Excel)PivotTable.RowGrand property (Excel)

如此如果数据透视表显示行的总计。True if the PivotTable report shows grand totals for rows. 读/写 BooleanRead/write Boolean.



_表达式_一个代表**PivotTable** 对象的变量。expression A variable that represents a PivotTable object.


本示例设置数据透视表以显示行的总计。This example sets the PivotTable report to show grand totals for rows.

Set pvtTable = Worksheets("Sheet1").Range("A3").PivotTable 
pvtTable.RowGrand = True

支持和反馈Support and feedback

有关于 Office VBA 或本文档的疑问或反馈?Have questions or feedback about Office VBA or this documentation? 请参阅 Office VBA 支持和反馈,获取有关如何接收支持和提供反馈的指南。Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.