+ Reply to Thread
Results 1 to 2 of 2

Refresh Pivot Table in protected sheet

  1. #1
    Registered User
    Join Date
    05-25-2016
    Location
    United States, Texas
    MS-Off Ver
    MS Office 2010
    Posts
    86

    Refresh Pivot Table in protected sheet

    Hello,

    So I have a Dashboard that has a pivot table lined into about 6 charts. they are all linked to one tab "Data" which constantly has data being input. The dashboard tab is protected to where only the filtering tools can be messed with. I want to be able to go in my "data" tab and input the data and when i go back to my dashboard where the pivot table is, I want it to automatically update.

    I put in the following code but it does not work. Can anyone see the problem or have another idea for a code that would work?

    Private Sub worksheet_activate()
    ActiveSheet.PivotTables(1).RefreshTable
    End Sub


    Private Sub workbook_open()
    With Me.Worksheets("dashboard")
    .AllowPivotTable = True
    .Protect Contents = True, userinterfaceonly:=True
    AllowUsingPivotTable = True

    End With
    End Sub


    Thanks.

  2. #2
    Registered User
    Join Date
    05-25-2016
    Location
    United States, Texas
    MS-Off Ver
    MS Office 2010
    Posts
    86

    Re: Refresh Pivot Table in protected sheet

    Bump no response

+ 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. Automatic refresh pivot table on protected sheet
    By wrybel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-08-2014, 09:44 AM
  2. How to refresh Pivot table when sheet is protected?
    By vjharry in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-17-2013, 12:09 AM
  3. Refresh in Protected Pivot table
    By vjharry in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 05-16-2013, 01:08 AM
  4. Refresh a protected pivot table
    By DavidN in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 03-11-2013, 11:51 AM
  5. Replies: 1
    Last Post: 09-18-2012, 04:10 PM
  6. Macro to Allow Refresh of a Pivot Table in a Protected Sheet
    By gavin0311 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-07-2011, 02:32 PM
  7. Pivot table refresh in a protected sheet
    By JoelMessing in forum Excel General
    Replies: 5
    Last Post: 05-04-2009, 02:56 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