Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Insert a blank row in a Pivot table

Hi all
I'd like to insert a blank row after each subtotal using vb code in pivot
table. All the books I've look at don't talk about it. Is it possible??

TIA
johnb
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,480
Default Insert a blank row in a Pivot table

Hi John

Sub test()
ActiveSheet.PivotTables("PivotTable1").PivotFields ("Name") _
..LayoutBlankLine = True
End Sub

For Pivot Fields, insert the name of the field which has Subtotals set and
change the Pivot table name to suit.
Setting the value to False will remove the blank line.

--
Regards
Roger Govier



"johnb" wrote in message
...
Hi all
I'd like to insert a blank row after each subtotal using vb code in pivot
table. All the books I've look at don't talk about it. Is it possible??

TIA
johnb



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 53
Default Insert a blank row in a Pivot table

Cheers Roger

"johnb" wrote:

Hi all
I'd like to insert a blank row after each subtotal using vb code in pivot
table. All the books I've look at don't talk about it. Is it possible??

TIA
johnb

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
pivot table (blank) Tuxla Excel Discussion (Misc queries) 2 February 9th 09 10:52 AM
Pivot Chart Created from Pivot Table is Blank RaidersFan Charts and Charting in Excel 1 January 25th 09 10:34 PM
pivot table (blank) vs. __ nickname Excel Discussion (Misc queries) 0 September 10th 07 04:50 PM
Pivot table creates blank table [email protected] Charts and Charting in Excel 2 October 17th 06 05:21 PM
Insert a row after a pivot table MarkM Excel Discussion (Misc queries) 0 July 19th 06 09:19 PM


All times are GMT +1. The time now is 07:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"