+ Reply to Thread
Results 1 to 4 of 4

Pivot table Parameters

  1. #1
    Scott
    Guest

    Pivot table Parameters

    I know that you can't directly pass a parameter for a query through a pivot
    table, but is there some way to by pass this? My problem is that I need to
    create several graphs based on about 200 000 data points, comparing the
    performance of several companies in a couple of areas on a monthly basis. I
    have been given the task to automate it to a click of a button. I have so
    far managed to achieve all the other functions through VBA, I am no pro,
    however I have learned a fair amount from this site and some of the MVP sites.

    Now what I have a pivot table linked to an Access database, to update it I
    have to manually go into the query and change the criteria. However I was
    wondering/hoping that I could reference it to the contents of a cell. I know
    you can do this with normal queries, but i couldn't find out how to do it
    with pivot tables, if it is even possible. If anyone has any ideas/ help I
    would greatly appreciate it.

    Thanks,



  2. #2
    Scott
    Guest

    RE: Pivot table Parameters

    Anyways, I figured this out. If anyone sees this post and is curious, I'll
    post my fix

    Scott
    "Scott" wrote:

    > I know that you can't directly pass a parameter for a query through a pivot
    > table, but is there some way to by pass this? My problem is that I need to
    > create several graphs based on about 200 000 data points, comparing the
    > performance of several companies in a couple of areas on a monthly basis. I
    > have been given the task to automate it to a click of a button. I have so
    > far managed to achieve all the other functions through VBA, I am no pro,
    > however I have learned a fair amount from this site and some of the MVP sites.
    >
    > Now what I have a pivot table linked to an Access database, to update it I
    > have to manually go into the query and change the criteria. However I was
    > wondering/hoping that I could reference it to the contents of a cell. I know
    > you can do this with normal queries, but i couldn't find out how to do it
    > with pivot tables, if it is even possible. If anyone has any ideas/ help I
    > would greatly appreciate it.
    >
    > Thanks,
    >
    >


  3. #3
    Registered User
    Join Date
    08-14-2012
    Location
    Southern California
    MS-Off Ver
    Excel 2003
    Posts
    1

    Re: Pivot table Parameters

    Hi Scott. Please do post your fix! I would like to do the same thing.

    Thanks,
    KK

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Pivot table Parameters

    KKCA,

    Its not likely that Scott will come back after so many years. Its better if you post a new question.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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