Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Pivot table - show detail

I'm trying to create a procedure to show the detail in a pivot table. Using
the macro recorder, I get:

Range("B7").Select
Selection.ShowDetail = True

However, I'd prefer to reference the pivot field (field name = Division)
directly.

TIA,

Dave


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Pivot table - show detail

Dim pvtitm as PivotItem
for each pvtitm in
activesheet.PivotTables(1).PivotFields("Division") .PivotItems
pvtitm.ShowDetail = True
Next

--
Regards,
Tom Ogilvy


"Wolfie" wrote in message
...
I'm trying to create a procedure to show the detail in a pivot table.

Using
the macro recorder, I get:

Range("B7").Select
Selection.ShowDetail = True

However, I'd prefer to reference the pivot field (field name = Division)
directly.

TIA,

Dave




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Pivot table - show detail

Thanks Tom!

"Tom Ogilvy" wrote in message
...
Dim pvtitm as PivotItem
for each pvtitm in
activesheet.PivotTables(1).PivotFields("Division") .PivotItems
pvtitm.ShowDetail = True
Next

--
Regards,
Tom Ogilvy


"Wolfie" wrote in message
...
I'm trying to create a procedure to show the detail in a pivot table.

Using
the macro recorder, I get:

Range("B7").Select
Selection.ShowDetail = True

However, I'd prefer to reference the pivot field (field name = Division)
directly.

TIA,

Dave






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 - show ALL detail? johng Excel Discussion (Misc queries) 3 September 2nd 09 09:55 PM
pivot table, show detail for multiple cells jensand Excel Discussion (Misc queries) 1 May 1st 07 11:31 PM
Pivot Table - Disable the Show/Hide Detail upon refresh Vicki Excel Discussion (Misc queries) 0 November 15th 06 09:47 PM
Formatting Pivot Table- when doble clicking to show Detail jwwjd Excel Discussion (Misc queries) 0 November 25th 05 08:51 PM
show detail in pivot table robbie Excel Discussion (Misc queries) 5 June 14th 05 09:15 PM


All times are GMT +1. The time now is 01:50 PM.

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

About Us

"It's about Microsoft Excel"