+ Reply to Thread
Results 1 to 3 of 3

Pivot table functions disabled when workseet is protected. Workaround? VBA to sort?

  1. #1
    Forum Contributor
    Join Date
    02-22-2014
    Location
    Winthrop, ME
    MS-Off Ver
    Excel 2010
    Posts
    420

    Pivot table functions disabled when workseet is protected. Workaround? VBA to sort?

    Good morning. I have a Workbook that includes Pivot Tables and formulas for totaling columns. I would like to protect the worksheets so the user is unable to alter or delete rows that contain formulas. When I protected the worksheet the Pivot Tables would no loner work. I need the user to be able to sort the tables by each column, as they see fit.

    Is this possible using Pivot Tables or am I going to have to migrate to using VBA code to sort in my protected workbook? Thanks.

    Matthew
    Attached Files Attached Files
    Last edited by moosetales; 04-21-2014 at 07:50 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    07-04-2012
    Location
    Cape Town, RSA
    MS-Off Ver
    Office 365 ProPlus
    Posts
    1,050

    Re: Pivot table functions disabled when workseet is protected. Workaround? VBA to sort?

    If the pivots are on the same sheet as the source, then you will need VBA to unprotect the sheet and take the necessary actions on the source or the pivots. If the pivots are on a separate sheet, then the source can stay locked and the pivot sheet can be unprotected...

    To view code for unprotecting sheets/pivots, see here: http://www.contextures.com/xlPivot12.html#sheet
    Regards,
    Rudi

  3. #3
    Forum Contributor
    Join Date
    02-22-2014
    Location
    Winthrop, ME
    MS-Off Ver
    Excel 2010
    Posts
    420

    Re: Pivot table functions disabled when workseet is protected. Workaround? VBA to sort?

    RudiS,

    Thanks. I'll take a look at the link.

    Matthew

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 5
    Last Post: 10-04-2013, 01:09 PM
  2. [SOLVED] Sort Functions are Disabled When Sheet is Protected, and more Issue When Sheet is Shared
    By bssol in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-27-2013, 05:33 AM
  3. ERROR Handling on Pivot Table with Combo box workaround
    By hitxrafa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-05-2012, 06:06 AM
  4. Replies: 1
    Last Post: 02-08-2012, 09:48 AM
  5. Pivot table page filter not accepting multiple values. Workaround?
    By jco in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-25-2005, 05:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1