Results 1 to 5 of 5

Vba - change column graph color gradients with macro

Threaded View

  1. #1
    Registered User
    Join Date
    09-10-2012
    Location
    Guildford, UK
    MS-Off Ver
    Excel 2003
    Posts
    23

    Vba - change column graph color gradients with macro

    Hi there.

    I have a simple column chart in a 2007 excel doc, and the bars have "2-stop" color gradient on them. Color stop 1 is bright orange, and color stop 2 is black.

    I want to create a macro that changes the bright orange color to bright red using VBA.
    ___

    I found this website, but I cant make sense of it - http://code.msdn.microsoft.com/offic...-with-ae123477

    ___

    Ideally I want something of that looks roughly like:

    ActiveChart.SeriesCollection(1).Interior.Fill.Gradient.ColorStop1 = RGB (255, 0, 0)

    ___

    Any help is appreciated.
    Last edited by xandermacleod; 09-26-2012 at 07:25 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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