Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Restricting Pivot Tables

I have a pivot table I wish to distribute to users but wish to restrict what
they can do thereafter.

I have used the usual sub as shown below. My problem is I want to withdraw
the Pivot Wizard but allow them access to the Field List. However if I run
the sub below I find that as long as .EnableWizard = False the Field List
will not appear even if .EnableFieldList = True.

Please help!

Sub RestrictPivotTable()
Dim pf As PivotField
With ActiveSheet.PivotTables(1)
..EnableFieldList = True 'False
..EnableWizard = False 'false
..EnableDrilldown = True
..EnableFieldDialog = True
..PivotCache.EnableRefresh = True
..EnableFieldList = True 'False

For Each pf In .PivotFields
With pf
'.DragToPage = False
'.DragToRow = False
'.DragToColumn = False
' .DragToData = False
'.DragToHide = False
End With
Next pf
End With

End Sub
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Building pivot tables in Excel 2007 based on existing pivot tables? [email protected] Excel Discussion (Misc queries) 4 December 26th 07 08:05 PM
row limits excel 2007 restricting pivot table calculations Jazz Excel Discussion (Misc queries) 0 August 8th 07 05:32 AM
Restricting Data Elements in Pivot Table gary_wyman Excel Worksheet Functions 0 June 8th 07 04:44 PM
How does the term 'pivot' apply to Excel's Pivot tables and Pivot. stvermont Excel Discussion (Misc queries) 1 February 17th 05 01:34 AM
Pivot tables-controlling user interaction with pivot tables Sindhura Excel Programming 0 August 27th 03 02:10 PM


All times are GMT +1. The time now is 04:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"