Results 1 to 11 of 11

Automatically Update Pivot Tables

Threaded View

  1. #1
    Registered User
    Join Date
    04-28-2021
    Location
    Aldie, Virginia
    MS-Off Ver
    Newest Version of Excel (Office 365)
    Posts
    11

    Automatically Update Pivot Tables

    I need to automatically update a pivot table, I used this code:

    Private Sub Worksheet_Deactivate()
    ThisWorkbook.RefreshAll
    End Sub

    and whenever I change sheets I get the pictured error, the debugger highlights "ThisWorkbook.RefreshAll"

    I have used that code before and it was working, the only change I can think of that would affect anything is that the source data is now a table, any suggestions of other ways to make this work? Thanks in advance!
    Attached Images Attached Images

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to update automatically a joined table and its pivot tables?
    By ifritaeon61 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-08-2021, 05:51 PM
  2. [SOLVED] Automatically update a summary page from different pivot tables
    By jimjones1958 in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 05-24-2020, 11:31 AM
  3. Replies: 1
    Last Post: 02-25-2018, 09:47 PM
  4. Two pivot tables with the filter of pivot table 2 to automatically update to filter 1
    By StefaniaLa in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-13-2018, 06:19 PM
  5. Update my Pivot Tables automatically after X minutes
    By akardar1 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-30-2014, 10:11 AM
  6. Automatically update all data connection & Pivot tables every hour
    By PWinkz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-28-2013, 11:32 AM
  7. Update pivot tables automatically
    By minrufeng in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-23-2005, 09:41 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