+ Reply to Thread
Results 1 to 3 of 3

Pivot Table - Refresh

  1. #1
    Forum Contributor
    Join Date
    02-19-2013
    Location
    Kuwait
    MS-Off Ver
    Excel 2013
    Posts
    115

    Pivot Table - Refresh

    Dear All,

    I have created a pivot table and it has a large amount of data. When i go back and refresh data it get hanged. it also get hanged when i change the data source.

    The file is too big and confidential to be shared online.
    Can you please provide me with any method.

    Regards
    Adnan

  2. #2
    Registered User
    Join Date
    10-20-2016
    Location
    USA
    MS-Off Ver
    2016
    Posts
    22

    Re: Pivot Table - Refresh

    Hi Adnan,

    You may try the below auto range selection in your macro.it will fix the problem.



    ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase, _
    SourceData:=Range("A1").CurrentRegion.Address, Version:=6).CreatePivotTable _
    TableDestination:="", TableName:="PivotTable1", DefaultVersion:=6
    ActiveSheet.PivotTableWizard TableDestination:=ActiveSheet.Cells(3, 1)

  3. #3
    Forum Contributor
    Join Date
    02-19-2013
    Location
    Kuwait
    MS-Off Ver
    Excel 2013
    Posts
    115

    Re: Pivot Table - Refresh

    Thanks... Got it

+ 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. Replies: 0
    Last Post: 08-14-2013, 06:31 AM
  3. PProtect a sheet containing a pivot table but allow table to refresh data?
    By ThomasCarter in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 01-22-2013, 05:46 AM
  4. [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
  5. Replies: 2
    Last Post: 10-25-2010, 11:31 AM
  6. 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
  7. Replies: 5
    Last Post: 11-24-2005, 11:15 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