Results 1 to 4 of 4

Thread: How to get Pivot chart title and VBA

  1. #1
    Join Date
    Dec 2008
    Posts
    112

    How to get Pivot chart title and VBA

    I have number of records and multiple field in my Excel sheet, from that i have set some primary fields and the others are non-primary, Now I wanted to take a Dynamic Chart using Pivot Table and VBA as per my records and other related data. Is it possible to change chart automatically. Thanks for your help.

  2. #2
    Join Date
    Feb 2006
    Posts
    167

    Re: How to get Pivot chart title and VBA

    In Using Pivot Table Data for a Chart with a Dual Category Axis, I showed how to make a Chart with a Dual Category Axis using a pivot table to properly arrange the source data. Right click on the sheet name tab of the sheet housing the PivotTable and choose View Code. In here paste the code below and modify Chart1 to suit.

  3. #3
    Join Date
    Feb 2006
    Posts
    185

    Re: How to get Pivot chart title and VBA

    Normally the Title is already centered. I can't find a way of programmatically centering the Title because it does not have a Width property. A PivotChart view uses the Office Chart Component and helps you create dynamic, interactive charts. The views support interactions, such as adding, filtering, and sorting data, without you having to write code.

  4. #4
    Join Date
    Oct 2008
    Posts
    127

    Re: How to get Pivot chart title and VBA

    you need to write code. This article presents sample code for performing simple tasks, such as moving and filtering fields, in PivotTable and PivotChart views. I generally prefer using a regular chart, because pivot charts are pretty inflexible when it comes to formatting. Unfortunately, a regular chart doesn’t know when the pivot table has been resized by a refresh.

Similar Threads

  1. How to add subtitles to chart title in Excel
    By Lanka Boy in forum Windows Software
    Replies: 1
    Last Post: 07-01-2012, 05:49 PM
  2. how to create a gantt chart from a pert chart ?
    By Loeb in forum Microsoft Project
    Replies: 5
    Last Post: 08-07-2011, 10:24 AM
  3. How to Create, edit or delete an array formula or Pivot Chart
    By agarwalm11 in forum Guides & Tutorials
    Replies: 1
    Last Post: 31-12-2009, 12:22 PM
  4. Difference between title tag and <meta name="title">
    By Indrani in forum Software Development
    Replies: 3
    Last Post: 19-05-2009, 04:22 PM
  5. How to export Pivot Chart from Access to ppt
    By Kurtz in forum Software Development
    Replies: 2
    Last Post: 18-05-2009, 10:52 AM

Tags for this Thread

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
  •  
Page generated in 1,750,513,298.64981 seconds with 16 queries