Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

Setting colour of different series on Excel chart

Avatar of looper8
looper8 asked on
Microsoft Access
2 Comments1 Solution715 ViewsLast Modified:
Got a module that creates various Excel charts.  One of them of is type xlLineMarkers.  I need to change the colours in code.  I can change the other charts colours fine (they're all bar charts) using the If code below, but I need the Else filling in:

If Series2Colour <> 0 Then
      intNumOfSeries2 = xlBook.ActiveChart.SeriesCollection(2).Points.Count
            For k = 1 To intNumOfSeries2
                If Not ChartType = xlLineMarkers Then
                    .SeriesCollection(2).Points(k).Interior.ColorIndex = Series2Colour
                Else
               
                end if
            next
end if

ASKER CERTIFIED SOLUTION
Avatar of kodiakbear
kodiakbear

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 2 Comments.
See Answers