+ Reply to Thread
Results 1 to 3 of 3

Putting a pivot field in the Value Field - Macro - Pivot Charts

  1. #1
    Registered User
    Join Date
    04-28-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2003
    Posts
    24

    Smile Putting a pivot field in the Value Field - Macro - Pivot Charts

    Hi there

    Here is a simple bit of code that basically goes through the 2 pivot charts and puts the pivot field “#3” in the legend field(xlColumnField) in position 2

    Now what I want to be able to do is put it in the Values field.

    Any ideas how this can be done?

    Please Login or Register  to view this content.
    I have tried doing something like, "Sum of #3", xlSum taken from below but I cannot seem to get this to work!!

    Please Login or Register  to view this content.
    Thanks
    Attached Files Attached Files
    Last edited by hattrick_123a; 09-22-2011 at 09:02 PM. Reason: [SOLVED]

  2. #2
    Valued Forum Contributor
    Join Date
    08-26-2006
    Location
    -
    MS-Off Ver
    2010
    Posts
    388

    Re: Putting a pivot field in the Value Field - Macro - Pivot Charts

    one way is this:
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    04-28-2011
    Location
    Auckland
    MS-Off Ver
    Excel 2003
    Posts
    24

    Re: Putting a pivot field in the Value Field - Macro - Pivot Charts

    Thanks T-J, that works [SOLVED]

+ 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