Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 135725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T06:50:09+00:00 2026-05-11T06:50:09+00:00

In Excel 2003, when I change Series.Interior.ColorIndex to a value I need, it has

  • 0

In Excel 2003, when I change Series.Interior.ColorIndex to a value I need, it has no effect. It has an effect only when I first manually change color and then run the macro. Apparently this triggers some update mechanism. Does anyone have an explanation for this? Is there a way to somehow trigger this in the chart?.. I.e. make sure that the color changes take effect.

In addition, when I step through the code and watch ColorIndex, it does not change even after value is assigned. Is this one of the many bugs in Excel?

The code looks like this:

Sub DoStuff()     Dim j As Long     For j = 1 To ActiveChart.SeriesCollection.Count         With ActiveChart.SeriesCollection(j)            Select Case ActiveChart.SeriesCollection(j).Name                Case 'Milk'                   .Interior.ColorIndex = 4                Case 'Cookies'                   .Interior.ColorIndex = 28                Case 'Honey'                   .Interior.ColorIndex = 26             End Select         End With     Next j End Sub 

Edit: I am working with bar chart.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T06:50:10+00:00Added an answer on May 11, 2026 at 6:50 am

    Try setting the border as well.

    .Interior.ColorIndex = 4 .Border.ColorIndex = 4 .Border.Weight = xlMedium 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Excel 2003 had a simple ...interior.colorindex and only 56 numbers. But, this is changed
I Have an Excel 2003 file with a line similar to this: I need
The Excel 2003 API has a GetSaveAsFilename method that pops up the Save As
In Excel 2003, I need to copy a Graphics object ( sheet.PageSetup.LeftFooterPicture ) to
In some VBA attached to an Excel 2003 spreadsheet I need to make use
I currently have built a tool in Excel 2003 which displays a series of
I need to make a slight change to the PHP Excel Reader library; http://code.google.com/p/php-excel-reader/
Excel 2003 Question: I'd like to have one cell represent a range of cells.
I have an excel 2003 vsto workbook that I would like to make available
I use Excel 2003 on a Windows 7 Professional setup. In my Personal.xls file,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.