+ Reply to Thread
Results 1 to 2 of 2

Bar of Pie Chart - Colors

  1. #1
    Registered User
    Join Date
    07-01-2014
    Location
    Jefferson County, WI
    MS-Off Ver
    2010/2013
    Posts
    1

    Bar of Pie Chart - Colors

    Hi,
    I’m extremely new to VBA and macros, literally started teaching myself yesterday to make better/more efficient graphs to represent data for work, so please forgive me for my inexperience.

    But I'm compiling data into Bar of Pie charts and am wondering if it's at all possible to program the "Other" slice to be a certain color. The macros I made uses colors that are predetermined from the cells on excel, but...
    • The charts don't have the same splitting point (where the "Other slice occurs") for the second plot because the data sets don't have the same number of datums
    • The range for the chart is based off of what I select.
    If someone could help, or even have suggestions for a more efficient way to format this, it would be greatly appreciated. Below is what I have so far in VBA. Thank you!

    Please Login or Register  to view this content.
    Last edited by Hanaymous; 07-02-2014 at 02:04 PM.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Bar of Pie Chart - Colors

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

    The "Others" slice is the last Point in the series. so you can use
    Please Login or Register  to view this content.
    Cheers
    Andy
    www.andypope.info

+ 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-07-2012, 03:54 PM
  2. Chart Colors
    By Coors in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 05-14-2008, 04:23 AM
  3. Bar Chart with 2 colors
    By Elden in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-27-2007, 05:27 PM
  4. Change Chart Bar or other Colors
    By sachinattri in forum Excel General
    Replies: 0
    Last Post: 03-24-2006, 07:36 AM
  5. [SOLVED] static colors in chart chart
    By Johan in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-22-2005, 09:05 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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1