you can use ActiveSheet.PivotTables("PivotTable1").ClearAllFilters


or


At the top of the window, on the Ribbon, click the *Options* tab under
*PivotTable
Tools*. In the *Actions* group, click *Clear*, and then click *Clear Filters
*. Be sure you really want to do this before you undo all your selections.

On Sun, Feb 26, 2012 at 11:45 PM, Kiran Kancharla <srkira...@gmail.com>wrote:

>
> Hi All,
>
> Below is the Macro I have recorded for unchecking the Pivot Table.
>
>
> ActiveSheet.PivotTables("PivotTable2").PivotFields("Month").CurrentPage
> = "(All)"
>
>     With ActiveSheet.PivotTables("PivotTable2").PivotFields("Month")
>         .PivotItems("Jan").Visible = False
>         .PivotItems("Feb").Visible = True
>     End With
>
> In the real case I have More than the 500 points to uncheck.
>
> I need macro to uncheck all selected in Pivot table and select only 1.
>
> I have a separate macro to Select the required point.
>
> Please help.
>
> I cannot attach the sheet as it has client information.
> --
> Thanks & Regards,
> Kiran
>
> --
> FORUM RULES (986+ members already BANNED for violation)
>
> 1) Use concise, accurate thread titles. Poor thread titles, like Please
> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice
> will not get quick attention or may not be answered.
>
> 2) Don't post a question in the thread of another member.
>
> 3) Don't post questions regarding breaking or bypassing any security
> measure.
>
> 4) Acknowledge the responses you receive, good or bad.
>
> 5) Cross-promotion of, or links to, forums competitive to this forum in
> signatures are prohibited.
>
> NOTE : Don't ever post personal or confidential data in a workbook. Forum
> owners and members are not responsible for any loss.
>
>
> ------------------------------------------------------------------------------------------------------
> To post to this group, send email to excel-macros@googlegroups.com
>



-- 
.........................

-- 
FORUM RULES (986+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.

------------------------------------------------------------------------------------------------------
To post to this group, send email to excel-macros@googlegroups.com

Reply via email to