98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft VBA Training and help » vba courses london - Pivot Tables
vba courses london - Pivot Tables
Resolved · Low Priority · Version Standard
Christopher has attended:
Excel VBA Intro Intermediate course
Pivot Tables
Is there a way to disable access to raw data on pivot tables?
RE: Pivot Tables
Hi Christopher,
Yes, as I suggested, it turns out to be a settable property of a PivotTable object:
PivotTable.EnableDrilldown
e.g.
Sub ToggleDrilldown()
Dim pt As PivotTable
Dim status As Boolean
Set pt = Worksheets("PT Orders").PivotTables("PT_Orders")
status = pt.EnableDrilldown
pt.EnableDrilldown = Not (status)
End Sub
PivotTable has lots of properties! Might be worth a browse through the others.
/Roy
Training information:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
VBA tip:Stuck in a Code LoopIf you ever get stuck in an infinite code loop when programing in VBA use |