Hello,
Do you know if it's possible to hide the drop-down lists of the fields used in a pivot table of Excel. In other words how do you hide the arrows of the listboxes of a pivot table?
thanx
Hello,
Do you know if it's possible to hide the drop-down lists of the fields used in a pivot table of Excel. In other words how do you hide the arrows of the listboxes of a pivot table?
thanx
ALe,
I do not think you can do that, except by gimmicky tricks like dropping drawing shapes on top of the cells with the PivotFields.
Patrick
If I understood right, you can lock them...
[vba] Dim fld As PivotField
With ActiveSheet
For Each fld In .PivotTables("PivotTable1").PivotFields
fld.EnableItemSelection = False
Next fld
End With[/vba]
Ken Puls, CMA - Microsoft MVP (Excel)
I hate it when my computer does what I tell it to, and not what I want it to.
Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar
This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!
Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!
thanks. It works fine. When you lock the list, you hide the arrow. The best would be to hide the arrow without locking the list. Is it possible?
Sorry, ALe, I don't know. I actually dug through the object browser to find that property. You might want to give that a shot, unless anyone else has an idea.
In the VBE, press F2 to bring it up. I searched for "Pivot" and ended up digging through the properties and methods of the Pivot Fields section as it seemed the most logical place.
Ken Puls, CMA - Microsoft MVP (Excel)
I hate it when my computer does what I tell it to, and not what I want it to.
Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar
This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!
Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!
I did the same. I couldn't find a property to do that.
One of us should just claim that it can't be done. Usually as soon as someone says that, someone comes along with a way.
Ken Puls, CMA - Microsoft MVP (Excel)
I hate it when my computer does what I tell it to, and not what I want it to.
Learn how to use our KB tags! -||- Ken's Excel Website -||- Ken's Excel Forums -||- My Blog -||- Excel Training Calendar
This is a shameless plug for my new book "RibbonX - Customizing the Office 2007 Ribbon". Find out more about it here!
Help keep VBAX clean! Use the 'Thread Tools' menu to mark your own threads solved!
OK.. It can't be done...
Peace of mind is found in some of the strangest places.
IT CAN BE DONE!!!!!!!!!
I'm joking...sorry.
I searched a bit in internet but nobody has published any way.
Right, I'm going to mark this thread as solved... hoping someone will solve it in the future.