Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Access Pivot Data

I am hoping someone can tell me how to access all of the data in a pivot
table field. I have a pivot table and based on the value chosen in a drop
down, values are populated in the printable area of the sheet (kind of an
excel version of mail merge). I am trying to find a way to access the values
in the drop down and loop through them to print all pages at once. I pasted
below my pitiful attempt - all suggestions welcome!

Sub PrintForms()
Dim StartRow
Dim EndRow
Dim Msg As String
Dim i

Sheets("1").Activate
With ActiveChart.PivotLayout.PivotTable.PivotFields("Mo nid")
For i = 1 To .PivotItems.Count
Range("B1") = PivotFields("Monid").Value
ActiveSheet.PrintOut
Next
End With


End Sub
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
Can we connect Pivot to multiple source data (MS Access) Milind Keer[_2_] Excel Discussion (Misc queries) 6 January 22nd 09 12:10 PM
Open excel pivot source data in Access? 770.wookie Excel Discussion (Misc queries) 1 November 12th 07 08:12 PM
Building Pivot table from Access data newbie Excel Discussion (Misc queries) 1 July 31st 06 12:23 PM
pivot tables & offline data access DM Unseen Excel Programming 0 June 22nd 06 08:01 AM
Pivot Table and data from MS Access Radke Excel Programming 0 January 10th 05 08:37 PM


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