Results 1 to 2 of 2

VBA Refresh all does not refresh pivot tables

Threaded View

  1. #1
    Forum Contributor
    Join Date
    09-11-2014
    Location
    Eugene, Oregon
    MS-Off Ver
    MS EXCEL 2010
    Posts
    210

    VBA Refresh all does not refresh pivot tables

    So I have a couple text boxes that I assigned a macro to...

    Sub Fiscal_Year_14()
    Application.Worksheets("Menu").Range("H22") = "2014"
    End Sub
    Basically, I have a worksheet named data and that sheet has a table that is from a query in Access and this is where all my data comes from. The code above is one of four and what I am doing is creating a button for a user to click on that will allow them to select 2014-2017 so each button changes the data to a different year. I took that same code and added...

    ActiveWorkbook.RefreshAll
    I have three different worksheets with pivot tables in them and when I run this it refreshes everything except those pivot tables. What am I missing?

    I should also mention that in this particular workbook I have all tabs hidden so the only way to get to each worksheet is through a text box that is linked to each worksheet. Not sure if this has something to do with it.
    Last edited by cmorten82; 07-05-2016 at 11:36 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Refresh Pivot Tables
    By jewels3059 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 07-03-2013, 04:30 AM
  2. Refresh All Pivot Tables
    By smyuen in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 12-28-2012, 10:05 PM
  3. [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
  4. Refresh All Pivot Tables
    By kring in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-27-2010, 11:40 AM
  5. Refresh pivot tables
    By rhyan66 in forum Excel General
    Replies: 3
    Last Post: 09-16-2010, 11:52 AM
  6. Refresh Pivot Tables
    By kaoscore in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-09-2006, 03:21 AM
  7. refresh pivot tables
    By bp in forum Excel General
    Replies: 5
    Last Post: 04-04-2006, 02:45 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