Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Drill-Down Pivot Macro
Is there a manual way to drill down to data in a pivot table other
than double clicking? I'm trying to write a macro that drills down to the data under the active cell, but using the double click would change the location of the active cell. Any ideas??? Thanks in advance..... |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Drill-Down Pivot Macro
Another way to do it manually is to choose
PivotTable Group and Show DetailShow Detail but that will also leave the detail sheet activated. Or, via code: Sub ActiveCellDrillDown() Dim rng As Range Set rng = ActiveCell With rng .ShowDetail = True .Parent.Activate .Activate End With End Sub Jay wrote: Is there a manual way to drill down to data in a pivot table other than double clicking? I'm trying to write a macro that drills down to the data under the active cell, but using the double click would change the location of the active cell. Any ideas??? Thanks in advance..... -- Debra Dalgleish Excel FAQ, Tips & Book List http://www.contextures.com/tiptech.html |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Pivot Chart Drill-Down | Excel Discussion (Misc queries) | |||
Pivot table drill down | Excel Discussion (Misc queries) | |||
Pivot Table drill down | Excel Discussion (Misc queries) | |||
Pivot Table macro to set print area and print details of drill down data | Excel Discussion (Misc queries) | |||
Top 10 within a drill-down in a pivot table? | Excel Discussion (Misc queries) |