+ Reply to Thread
Results 1 to 8 of 8

Color chart data points/marker points vba error

  1. #1
    Registered User
    Join Date
    01-02-2012
    Location
    Georgia
    MS-Off Ver
    Excel
    Posts
    36

    Color chart data points/marker points vba error

    I am trying to change the color of my charts data/marker points to reflect the color of the status column in my table. If the status is completed the color should be green and if the status is in progress/pending it should be yellow. I am having difficulty getting the vba code to work. I am new to vba coding and cannot figure out what to do past this point.
    Attached Files Attached Files

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

    Re: Color chart data points/marker points vba error

    Try this:
    Please Login or Register  to view this content.
    Remember what the dormouse said
    Feed your head

  3. #3
    Registered User
    Join Date
    01-02-2012
    Location
    Georgia
    MS-Off Ver
    Excel
    Posts
    36

    Re: Color chart data points/marker points vba error

    Should I be adding this as a module of the project timeline? When I entered the code it still did not change the marker or data points? See attachment.
    Attached Files Attached Files

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

    Re: Color chart data points/marker points vba error

    You have to run the code yourself.

  5. #5
    Registered User
    Join Date
    01-02-2012
    Location
    Georgia
    MS-Off Ver
    Excel
    Posts
    36

    Re: Color chart data points/marker points vba error

    I apologize but I really don't understand what that means. Should I be creating a macro for it?

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

    Re: Color chart data points/marker points vba error

    That is a macro - run it from the macros dialog.

  7. #7
    Registered User
    Join Date
    01-02-2012
    Location
    Georgia
    MS-Off Ver
    Excel
    Posts
    36

    Re: Color chart data points/marker points vba error

    Okay thank you. I ran it from the macros dialog and selected run and it still did not change colors when I changed the text in the status column.

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

    Re: Color chart data points/marker points vba error

    Did you run the macro after changing the text, or before?

+ 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: 12-04-2013, 04:51 PM
  2. 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
  3. [SOLVED] Color Chart Data Points By Cell Color
    By smile0 in forum Excel Programming / VBA / Macros
    Replies: 30
    Last Post: 06-10-2012, 04:42 PM
  4. Pie Chart plotting 1 single color for multiple data points
    By moonseed in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-12-2008, 03:41 PM
  5. VBA to color data points in a Chart based on non-graphed column values
    By shellig in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-10-2005, 09:46 AM

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