LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 146
Default Equating page filter value to a cell drop-down value

Hi,

How do I equate my pivot table page filters to a value in a cell? I have a
macro which refreshes 6 pivot tables contained in a workbook with data
contained in another workbook. I would like my macro to force all 6 pivot
tables to have a page filter which equals to a value (from a drop-down list)
that I have in cell b4 on my Summary sheet. Here a sampe of one of the pivot
table pieces of code:

ActiveSheet.PivotTables("ALL_TABLE").PivotFields(" RC").CurrentPage =
Summary!b4

Of course, I can't put "....=Summary!b4" at the end of this piece of code.
How do I force the pivot table called "ALL_TABLE" to have a page filter (or
pivot field called RC) to equal the value that I have in cell b4 on my
Summary sheet?

Thanks in advance,
Kent Lysell

--
Kent Lysell
Financial Consultant
Ottawa, Ontario
W: 613.943.9098
 
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
How do I transfer a filter drop down box to another cell? Angela Excel Discussion (Misc queries) 2 January 5th 09 06:39 PM
How to define a drop down row filter in cell C2 for cells C3:C27 ? Claudia d'Amato Excel Discussion (Misc queries) 1 July 15th 08 08:40 PM
Forcing PT page filter values to equal my cell value on summary pa klysell Excel Programming 0 June 14th 07 05:16 PM
Theory on test equating and linking [email protected] Excel Discussion (Misc queries) 0 March 27th 07 02:00 AM
Extract filter items from Drop-Down Automatic Filter karpatov Excel Programming 1 February 26th 06 06:03 PM


All times are GMT +1. The time now is 05:37 AM.

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"