KMacattack
New Member
- Joined
- Nov 24, 2008
- Messages
- 11
Hi, <?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
<o></o>
This is a two part questions, <o></o>
1) In my pivot tables there are duplicate items in the fields. It retrieves the data from an Access Database. <o></o>
and when I go to select a month it will list Jan, Jan, Feb, Feb and so on. In addition there are many formulas within the pivot table. so if there is an easy was to fix it without recreating the pivot tables and recreating the formulas that would be great.
and <o></o>
2) I have a macro that will go through each one of these pivot tables and set each item visible. and when there are duplicates it seems that it can't set the visible property to the pivot item. the code is below to set all the items visible.
<o></o>
Any Help would be great,
Thank you
<o></o>
This is a two part questions, <o></o>
1) In my pivot tables there are duplicate items in the fields. It retrieves the data from an Access Database. <o></o>
and when I go to select a month it will list Jan, Jan, Feb, Feb and so on. In addition there are many formulas within the pivot table. so if there is an easy was to fix it without recreating the pivot tables and recreating the formulas that would be great.
and <o></o>
2) I have a macro that will go through each one of these pivot tables and set each item visible. and when there are duplicates it seems that it can't set the visible property to the pivot item. the code is below to set all the items visible.
Rich (BB code):
For Each PvtTbl In Sheets("Pivot").PivotTables
For Each Pi In PvtTbl.PivotFields("Month").PivotItems
Pi.Visible = True
Next
Next<o:p></o:p>
Any Help would be great,
Thank you
Last edited: