+ Reply to Thread
Results 1 to 5 of 5

Can't figure how code points to excel chart in a workbook

  1. #1
    Forum Contributor
    Join Date
    06-06-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    180

    Can't figure how code points to excel chart in a workbook

    Somebody from the forum help me with the below code which worked great for colouring a bars on a bar chart. I now wanted to use the code and apply to another chart within the same workbook. But I cannot figure out what part of the code is refering to the actual chart?

    Can anyone help point this out to me?


    Please Login or Register  to view this content.

  2. #2
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Can't figure how code points to excel chart in a workbook

    This line:
    Please Login or Register  to view this content.
    refers to the first chart on the worksheet with the pivot table on it.
    Remember what the dormouse said
    Feed your head

  3. #3
    Forum Contributor
    Join Date
    06-06-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    180

    Re: Can't figure how code points to excel chart in a workbook

    So how would I refer to the second?

    Please Login or Register  to view this content.

  4. #4
    Forum Contributor
    Join Date
    06-06-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    180

    Re: Can't figure how code points to excel chart in a workbook

    Also is it possible to refer to more than 1 chart at a time?

  5. #5
    Forum Guru Izandol's Avatar
    Join Date
    03-29-2012
    Location
    *
    MS-Off Ver
    Excel 20(03|10|13)
    Posts
    2,581

    Re: Can't figure how code points to excel chart in a workbook

    That is correct. For more than one chart you must use a loop or more than one variable. If you will make same changes for each chart, a loop will be better.
    Last edited by Izandol; 06-11-2014 at 08:34 AM.
    • Please remember to mark threads Solved with Thread Tools link at top of page.
    • Please use code tags when posting code: [code]Place your code here[/code]
    • Please read Forum Rules

+ 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. help modifying macros for point and figure excel chart
    By yertleturtle in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-13-2013, 09:30 AM
  2. Replies: 0
    Last Post: 12-04-2013, 04:51 PM
  3. Color code data points on a scatter chart (2007)
    By JayUSA in forum Excel General
    Replies: 11
    Last Post: 10-26-2012, 02:11 AM
  4. labels on Excel chart points
    By Billw2 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 07-15-2008, 04:01 AM
  5. [SOLVED] Excel 2003 xy chart - problem plotting more than 330 points
    By ehmcneill in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-16-2005, 08:25 PM

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