+ Reply to Thread
Results 1 to 4 of 4

Pivot Table Source Data

  1. #1
    Registered User
    Join Date
    10-24-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2013
    Posts
    87

    Pivot Table Source Data

    Hello everyone,

    I am looking to find a way to change my pivot table source data (right now I have it hard coded).

    For example the number of rows could potentially change (ie. from as little as 1 all the way to potentially 100000, or X).

    Is there anyway to make sure it grabs all the information up to the LAST row?

    Here is the code I have (that is hard coded to pull until row 89).

    Please Login or Register  to view this content.
    Thank you guys

  2. #2
    Valued Forum Contributor marreco's Avatar
    Join Date
    07-02-2011
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    1,862

    Re: Pivot Table Source Data

    i find this, try adapt
    Please Login or Register  to view this content.
    Or
    http://www.waldherr.org/create-pivot...source-ranges/
    "No xadrez nem sempre a menor dist?ncia entre dois pontos ? uma linha reta" G. Kasparov.

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select b from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  3. #3
    Registered User
    Join Date
    11-02-2012
    Location
    Netherlands
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Pivot Table Source Data

    Try the code below. I just select the entire column, so i'm sure that all data is used:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    10-24-2012
    Location
    Ontario, Canada
    MS-Off Ver
    Excel 2013
    Posts
    87

    Re: Pivot Table Source Data

    Thanks for the responses guys, I have tried it but it didn't seem to work that well for me.

    Here is the entire code I have for context:

    Please Login or Register  to view this content.
    Thanks again

+ 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: 08-14-2013, 06:31 AM
  2. Replies: 3
    Last Post: 02-27-2012, 08:03 PM
  3. Pivot table - change data source to another pivot table in 2010
    By thesecretsanta in forum Excel General
    Replies: 4
    Last Post: 04-13-2011, 12:54 PM
  4. Replies: 1
    Last Post: 06-22-2010, 09:10 AM
  5. Replies: 1
    Last Post: 06-20-2010, 04:00 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