LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
dan dan is offline
external usenet poster
 
Posts: 866
Default PivotTable controlled by more than one page field item

I am trying to build a pivot table/chart in which the PageFields will only
list the remaining or available PageFieldItems after other choice
PageField--constraints--are applied.
This code works for one page field
************
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address = "$K$2" Then
Sheets("Pivot").PivotTables("PivotTable1") _
.PivotFields("Year").CurrentPage = Target.Value
End If
End Sub

************
but not for multiple page fields. Is there an answer ?
 
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 I choose more than one item in the page field area? trainer07 Excel Discussion (Misc queries) 1 April 19th 07 10:22 AM
PivotTable - how do I hide page field when printing Celia Excel Discussion (Misc queries) 2 October 18th 06 09:46 PM
PivotTable - How to unhide page field items? Epinn New Users to Excel 3 October 16th 06 01:10 PM
Print tab for each page field in PivotTable Scott Hernandez Excel Discussion (Misc queries) 1 August 24th 06 03:38 PM
Returning actual page field changed in pivottable Grant Excel Programming 0 September 27th 04 01:02 AM


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