Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am currently working with a Pivot Table. What i am trying to do is
determine if a Pivot Field is visible or not, and if it is, then i want to make it hidden. To set a Pivot Field to hidden, i use the following code: Set pf = pfs.Item("Sum of Actual") MsgBox pf.Name pf.Orientation = xlHidden However, this appears to break if the Pivot Field "Sum fo Actual" is already hidden. I get "Run-time error '1004': Unable to get the Item property of the PivotFields class" error on the line that tries to set pf to the "Sum of Actual" pivot field. Does anyone have any ideas on what i can do to fix this? Any help is GREATLY appreciated! Thanks Whitney |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ShowDetail on PivotField rather than PivotItem?? | Excel Programming | |||
PivotField refreshment | Excel Programming | |||
Determine upper visible corner of sheet | Excel Programming | |||
PivotField select all | Excel Programming | |||
Programmatically determine if a control is .VISIBLE or not. | Excel Programming |