+ Reply to Thread
Results 1 to 2 of 2

Lock the Pivot Table but still can refresh

  1. #1
    Registered User
    Join Date
    02-07-2020
    Location
    HK
    MS-Off Ver
    MS 2010
    Posts
    4

    Lock the Pivot Table but still can refresh

    hi,

    how can i lock the pivot table but still can "refresh"?

    a.JPGb.JPG

  2. #2
    Forum Expert teylyn's Avatar
    Join Date
    10-28-2008
    Location
    New Zealand
    MS-Off Ver
    Excel 365 Insider Fast
    Posts
    11,372

    Re: Lock the Pivot Table but still can refresh

    You can't. The pivot table can only refresh when the sheet is unprotected.

    You can use VBA that runs when the sheet is activated. Record a macro to

    - unprotect the sheet
    - refresh the pivot table
    - protect the sheet

    Then put that code into the Worksheet_Activate event.

+ 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: 6
    Last Post: 02-23-2024, 02:11 PM
  2. Refresh locked Pivot Table from external data and lock again
    By Opust in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 06-24-2019, 06:25 PM
  3. VBA to create dynamic table/pivot table to auto refresh charts on other sheets
    By jamesbutler2021 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-12-2019, 09:27 AM
  4. Replies: 0
    Last Post: 08-14-2013, 06:31 AM
  5. [SOLVED] Using VBA to change a pivot table filter, refresh the report and set up a refresh delay
    By Bonnister in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 06-18-2012, 10:43 AM
  6. Replies: 2
    Last Post: 10-25-2010, 11:31 AM
  7. import data from access table to excel pivot table - Enable Auto Refresh
    By okl in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 02-01-2010, 09:38 AM

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