+ Reply to Thread
Results 1 to 1 of 1

Generic macro to adjust the source data for a pivot table

  1. #1
    Forum Expert
    Join Date
    04-01-2013
    Location
    East Auckland
    MS-Off Ver
    Excel 365
    Posts
    1,343

    Generic macro to adjust the source data for a pivot table

    I am trying to create a generic macro to get a pivot table (maybe all pivot tables in a worksheet) and then find the data source for that table then adjust the data range down or up if new rows have been added.

    I started on the task and then I found that when I got the "datasource" it returned be in RC format which doesn't seem very useful.

    Maybe I could use another brain to help me out here.

    the idea is that I would put it in a tool bar (or right click menu) and users could update the pivot tables by clicking on it as opposed to going to the source and extending it.
    Last edited by scottiex; 03-11-2016 at 12:00 AM.

+ 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: 0
    Last Post: 01-06-2016, 07:00 AM
  2. Replies: 2
    Last Post: 10-17-2013, 02:44 PM
  3. Pivot Table Macro - Data Source Worksheet name date sensitive
    By Stephen1983 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-23-2013, 12:18 PM
  4. Macro to Change Data Source on Pivot Table
    By Jiptastic in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-18-2013, 03:40 PM
  5. Macro to refresh pivot table and update data source
    By TBO in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-01-2013, 01:09 PM
  6. Change data source of pivot table using macro
    By ashishprem in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-10-2008, 01:11 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