N
Nitin
Is it possible to hide the subtotal button in the OWC toolbar
programmatically?
We are using this code to hide totals. However, if a user clicks on
the subtotal button, the totals reappear. Is there a way to prevent
this?
Private Sub PivotTable1_BeforeQuery()
Dim fs As Variant
Dim f As Variant
For Each fs In PivotTable1.ActiveView.FieldSets
For Each f In fs.Fields
f.Subtotals(0) = False
Next f
Next fs
End Sub
Thanks in advance!
Nitin
programmatically?
We are using this code to hide totals. However, if a user clicks on
the subtotal button, the totals reappear. Is there a way to prevent
this?
Private Sub PivotTable1_BeforeQuery()
Dim fs As Variant
Dim f As Variant
For Each fs In PivotTable1.ActiveView.FieldSets
For Each f In fs.Fields
f.Subtotals(0) = False
Next f
Next fs
End Sub
Thanks in advance!
Nitin