PivotField.LayoutBlankLine Property (Excel)

True if a blank row is inserted after the specified row field in a PivotTable report. The default value is False . Read/write Boolean .


expression. LayoutBlankLine

expression A variable that represents a PivotField object.


You can set this property for any PivotTable field; however, the blank row appears only if the specified field is a row field other than the innermost (lowest-level) row field. For non-OLAP data sources, the value of this property doesn't change when the field is rearranged or added to the PivotTable report.

You cannot enter data in the blank row in the PivotTable report.


This example adds a blank line after the state field in the first PivotTable report on the active worksheet.

With ActiveSheet.PivotTables("PivotTable1") _ 
 .LayoutBlankLine = True 
End With

See also

PivotField Object