Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Lee
 
Posts: n/a
Default Excel 2003 Hide PivotItems

I have just upgraded to Excel 2003. I have a Pivot Table which is created
using VBA code which worked fine prior to the upgrade.

When the following bit of code executes, the incorrect PivotItem is made
invisible:

With ActiveSheet.PivotTables("PivotTable1").PivotFields ("State (seq)")
.PivotItems("09 - Close").Visible = False
End With

Instead of "09 - Close" being made invisible, another item "01 - Open" is
made invisible.

Also, when manually checking items to be visible or invisible, sometimes the
first and last items turn on/off with the Show all items check box.

Is this a known issue? We've already installed the service pack. Are there
any other fixes available?

Thanks
  #2   Report Post  
Lee
 
Posts: n/a
Default

Well I haven't found other posts where anyone else is experiencing this
problem.

But my solution, for now is to make visible the item which is being hidden
in error and to add another line to make the item I want hidden invisible, as
follows:

With ActiveSheet.PivotTables("PivotTable1").PivotFields ("State (seq)")
.PivotItems("09 - Close").Visible = False
.PivotItems("01 - Open").Visible = True
.PivotItems("09 - Close").Visible = False
End With

"Lee" wrote:

I have just upgraded to Excel 2003. I have a Pivot Table which is created
using VBA code which worked fine prior to the upgrade.

When the following bit of code executes, the incorrect PivotItem is made
invisible:

With ActiveSheet.PivotTables("PivotTable1").PivotFields ("State (seq)")
.PivotItems("09 - Close").Visible = False
End With

Instead of "09 - Close" being made invisible, another item "01 - Open" is
made invisible.

Also, when manually checking items to be visible or invisible, sometimes the
first and last items turn on/off with the Show all items check box.

Is this a known issue? We've already installed the service pack. Are there
any other fixes available?

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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
sharing/using/saving Excel 2002 files in Excel 2003 maze2009 Excel Discussion (Misc queries) 0 January 20th 05 07:27 PM
can a workbook with macros created in excel 2003 work in excel 20. Steve Venti Excel Discussion (Misc queries) 2 December 27th 04 02:31 PM
Excel 2000 file when opened in Excel 2003 generates errors? Doug Excel Discussion (Misc queries) 13 December 25th 04 10:20 PM
Saving a Excel 97 file into Excel 2003 file Wil Excel Discussion (Misc queries) 1 December 13th 04 11:51 PM


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