PC Review


Reply
Thread Tools Rate Thread

determine if Pivot Table field item is hidden

 
 
=?Utf-8?B?YmFkZ2VyX3JpY2g=?=
Guest
Posts: n/a
 
      20th Apr 2007
I have a field in a pivot table named "PC GROUP" with an item named "DSD". I
am wondering if there is a way to programmatically determine if DSD is
currently a hidden (or visible) item.

Thank you for your help.
--
Rich
 
Reply With Quote
 
 
 
 
=?Utf-8?B?VmVyZ2VsIEFkcmlhbm8=?=
Guest
Posts: n/a
 
      20th Apr 2007
Rich,

Maybe check the Orientation property of the pivot filed. Try:

Sub test()
If ActiveSheet.PivotTables("PC GROUP").PivotFields("DSD").Orientation =
xlHidden Then
MsgBox "DSD field is hidden"
End If
End Sub



--
Hope that helps.

Vergel Adriano


"badger_rich" wrote:

> I have a field in a pivot table named "PC GROUP" with an item named "DSD". I
> am wondering if there is a way to programmatically determine if DSD is
> currently a hidden (or visible) item.
>
> Thank you for your help.
> --
> Rich

 
Reply With Quote
 
Debra Dalgleish
Guest
Posts: n/a
 
      20th Apr 2007
If ActiveSheet.PivotTables(1).PivotFields("PC GROUP") _
.PivotItems("DSD").Visible Then


badger_rich wrote:
> I have a field in a pivot table named "PC GROUP" with an item named "DSD". I
> am wondering if there is a way to programmatically determine if DSD is
> currently a hidden (or visible) item.
>
> Thank you for your help.



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table - Calculating Field/item =?Utf-8?B?V0xNUGlsb3Q=?= Microsoft Excel Programming 1 8th Oct 2006 04:06 PM
Sort Pivot Table using hidden data field =?Utf-8?B?Z29vZnkxMQ==?= Microsoft Excel Misc 4 3rd Feb 2006 08:13 PM
pivot table page field hidden items marwan Microsoft Excel Discussion 2 26th Dec 2004 06:06 AM
Pivot Table Field's Item Listbox =?Utf-8?B?Z29yZG8=?= Microsoft Excel Programming 3 29th Nov 2004 01:42 AM
determine cell is part of pivot item or pivot field isskiran Microsoft Excel Programming 3 8th Dec 2003 07:18 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:51 PM.