Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
pivot table - show ALL detail? | Excel Discussion (Misc queries) | |||
pivot table, show detail for multiple cells | Excel Discussion (Misc queries) | |||
Pivot Table - Disable the Show/Hide Detail upon refresh | Excel Discussion (Misc queries) | |||
Formatting Pivot Table- when doble clicking to show Detail | Excel Discussion (Misc queries) | |||
show detail in pivot table | Excel Discussion (Misc queries) |