ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Extract pivot table info (https://www.excelbanter.com/excel-programming/279674-extract-pivot-table-info.html)

Jaya

Extract pivot table info
 
Hi,

I have a pivot table which has filters in the page
fields. When the user selects the filters i want to
retrieve the filter information and store it for later
use. How do i do that using VBA?

-Jaya

Tom Ogilvy

Extract pivot table info
 
For a pagefield, the filter would be the value showing.

? Activesheet.PivotTables(1).PageFields(1).CurrentPa ge
A

Regards,
Tom Ogilvy


"jaya" wrote in message
...
Hi,

I have a pivot table which has filters in the page
fields. When the user selects the filters i want to
retrieve the filter information and store it for later
use. How do i do that using VBA?

-Jaya




Jaya

Extract pivot table info
 
I tried that and i get an error,

Unable to get the currentpage property of the pivottable
class. I am using excel2000.

-Jaya

-----Original Message-----
For a pagefield, the filter would be the value showing.

? Activesheet.PivotTables(1).PageFields(1).CurrentPa ge
A

Regards,
Tom Ogilvy


"jaya" wrote in message
...
Hi,

I have a pivot table which has filters in the page
fields. When the user selects the filters i want to
retrieve the filter information and store it for later
use. How do i do that using VBA?

-Jaya



.



All times are GMT +1. The time now is 03:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com