Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Drill down pivot table data via VBA macro


I am trying to create a macro that will drill down subtotals from a
pivot table. Since the number of rows, and colums, changes frequently I
need to reference the total for the row or column. Can this be done via
VBA macro?


--
jmon76
------------------------------------------------------------------------
jmon76's Profile: http://www.thecodecage.com/forumz/member.php?u=1909
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=204538

http://www.thecodecage.com/forumz

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,180
Default Drill down pivot table data via VBA macro

Excel 2007 PivotTable
Show subtotal details via macro.
Define subtotal with PivotFields.
http://c0718892.cdn.cloudfiles.racks.../05_23_10.xlsm
Pdf preview:
http://www.mediafire.com/file/0ynnccqzeml/05_23_10.pdf

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Drill down pivot table data via VBA macro


Herbert Seidenberg;729985 Wrote:

Excel 2007 PivotTable
Show subtotal details via macro.
Define subtotal with PivotFields.
http://c0718892.cdn.cloudfiles.racks.../05_23_10.xlsm
Pdf preview:
http://www.mediafire.com/file/0ynnccqzeml/05_23_10.pdf




hrm, that doesnt seem to work for me. I am posting a snip of my table
and code hoping you might see the issue.


+-------------------------------------------------------------------+
|Filename: MacroIssue.docx |
|Download: http://www.thecodecage.com/forumz/attachment.php?attachmentid=596|
+-------------------------------------------------------------------+

--
jmon76
------------------------------------------------------------------------
jmon76's Profile: http://www.thecodecage.com/forumz/member.php?u=1909
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=204538

http://www.thecodecage.com/forumz

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,180
Default Drill down pivot table data via VBA macro

In GetPivotData syntax,
you are missing Field1.
Added another tab to my example file,
simulating your multiple column layout.
Same link.
http://c0718892.cdn.cloudfiles.racks.../05_23_10.xlsm

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Drill down pivot table data via VBA macro


Herbert Seidenberg;730004 Wrote:

In GetPivotData syntax,
you are missing Field1.
Added another tab to my example file,
simulating your multiple column layout.
Same link.
http://c0718892.cdn.cloudfiles.racks.../05_23_10.xlsm




I cant seem to access the file you loaded (and had the same issue last
time). Can you load a PDF like you did last time?

Thanks!


--
jmon76
------------------------------------------------------------------------
jmon76's Profile: http://www.thecodecage.com/forumz/member.php?u=1909
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=204538

http://www.thecodecage.com/forumz



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,180
Default Drill down pivot table data via VBA macro

Pdf file, 3 pages:
http://www.mediafire.com/file/dzzttzmiq0m/05_23_10.pdf

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 drill down data ziak Excel Discussion (Misc queries) 2 October 20th 09 06:25 PM
Pivot Table Drill Down EarlyBirdie Excel Discussion (Misc queries) 0 February 27th 08 06:07 PM
Pivot Table macro to set print area and print details of drill down data Steve Haskins Excel Discussion (Misc queries) 2 December 28th 05 04:59 PM
Macro to Format the Pivot Table drill down MESTRELLA29[_2_] Excel Programming 4 July 27th 05 05:50 PM
Top 10 within a drill-down in a pivot table? ChrisBusch Excel Discussion (Misc queries) 8 June 2nd 05 08:36 PM


All times are GMT +1. The time now is 06:17 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"