Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Macro in 2003 vs 2007

Hi,

I have the following macro that clears all filters in a pivot table of mine
in 2007:

Sheets(2).PivotTables("PivotTable1").ClearAllFilte rs.

When I try to run the macro in 2003 I get an error message that says:
"Object doesn't support the property or method."

Any ideas for how I can clear all filters in my pivot table in excel 2003
using a macro.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default Macro in 2003 vs 2007

Turn it on or off. That's all
Selection.AutoFilter
Skinman

"MichaelR" wrote in message
...
Hi,

I have the following macro that clears all filters in a pivot table of
mine
in 2007:

Sheets(2).PivotTables("PivotTable1").ClearAllFilte rs.

When I try to run the macro in 2003 I get an error message that says:
"Object doesn't support the property or method."

Any ideas for how I can clear all filters in my pivot table in excel 2003
using a macro.

Thanks.


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 38
Default Macro in 2003 vs 2007

I believe that works for a table with filters but unfortunately not for a
pivot table.

"Skinman" wrote:

Turn it on or off. That's all
Selection.AutoFilter
Skinman

"MichaelR" wrote in message
...
Hi,

I have the following macro that clears all filters in a pivot table of
mine
in 2007:

Sheets(2).PivotTables("PivotTable1").ClearAllFilte rs.

When I try to run the macro in 2003 I get an error message that says:
"Object doesn't support the property or method."

Any ideas for how I can clear all filters in my pivot table in excel 2003
using a macro.

Thanks.



Reply
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
Macro from 2003 to 2007 RogerS Excel Discussion (Misc queries) 0 February 3rd 10 03:54 PM
2003 Macro in a 2007 World hnyb1 Excel Discussion (Misc queries) 1 November 20th 09 05:56 PM
2003 to 2007 macro problem Russ Morgan Excel Worksheet Functions 3 January 2nd 09 07:26 PM
macro between 2003 and 2007 Debbie Horner Excel Discussion (Misc queries) 1 October 15th 08 03:16 PM
Macro 2003 vs 2007 Ron Excel Worksheet Functions 1 September 29th 08 05:40 AM


All times are GMT +1. The time now is 10:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"