+ Reply to Thread
Results 1 to 3 of 3

Chart colour macro

  1. #1
    Registered User
    Join Date
    02-14-2017
    Location
    Hilversum, Netherlands
    MS-Off Ver
    2010
    Posts
    92

    Chart colour macro

    Hi Guys!

    I have a macro that changes the RGB color code of any chart in a workbook through a loop. The code however only works on some charts (column chart, area chart, etc.) but not on a histogram, pie chart or such types of charts.

    Could you help out?

    This is my code:
    Please Login or Register  to view this content.
    Thank you all!

  2. #2
    Forum Expert
    Join Date
    06-09-2010
    Location
    Australia
    MS-Off Ver
    Excel 2013
    Posts
    1,714

    Re: Chart colour macro

    Hi
    I am guessing your problem is because the segments in pie charts are not additional series but points in a single series.

    This variation to your macro should apply your colour scheme to different points in series one rather than successive series if your chart has only one series.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-14-2017
    Location
    Hilversum, Netherlands
    MS-Off Ver
    2010
    Posts
    92

    Re: Chart colour macro

    Wow I thought I replied @Nickyc ! Thank you so much, it worked(Y)

+ 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. Macro for changing an absolue refrence value within an formula (Row, Columne)?
    By Per_s in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-31-2016, 04:10 PM
  2. [SOLVED] Help with changing my formula into a macro? Please see mock up file
    By Louie25 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-07-2015, 06:06 AM
  3. Changing an excel formula to a Macro (Allows for more records)
    By VBNewb in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-04-2011, 08:03 PM
  4. Changing formula in macro after row insert
    By ferro in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-30-2006, 01:53 AM
  5. Replies: 2
    Last Post: 04-04-2006, 05:40 PM
  6. changing cell formula part of macro
    By thephoenix12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-12-2005, 05:00 PM
  7. [SOLVED] Changing a chart scale using a formula/macro
    By Doug in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-10-2005, 06:05 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