ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Pivot Table: Locking Certain Features (https://www.excelbanter.com/excel-programming/372937-pivot-table-locking-certain-features.html)

[email protected]

Pivot Table: Locking Certain Features
 
I'm looking for a way to prevent users from both adjusting pivot
filters or refreshing the pivot. Does anyone know a way to lock these
features, but still alllow users to move/add/remove fields from the
table or select data within the fields?

Help would be greatly appreciated.


William[_2_]

Pivot Table: Locking Certain Features
 
Hi

To disable the refreshing of a pivot table, try....
ActiveSheet.PivotTables(1).PivotCache.EnableRefres h = False

To disable the dropdown arrows on a pivot field try....
ActiveSheet.PivotTables(1).PivotFields("XXX").Enab leItemSelection = False


--

Regards

William

XL2003




wrote in message
oups.com...
| I'm looking for a way to prevent users from both adjusting pivot
| filters or refreshing the pivot. Does anyone know a way to lock these
| features, but still alllow users to move/add/remove fields from the
| table or select data within the fields?
|
| Help would be greatly appreciated.
|




All times are GMT +1. The time now is 01:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com