Setting a pie chart segment to No Fill

L

Lynxbci3

Hi,

I have a program that automatically sets the segments in a pie chart to
the correct colour (set using RGB(c1,c2,c3)) see code below

Charts("EPE Wheel").SeriesCollection(1).Points(pnt).Interior.Color =
RGB(c1, c2, c3)

However there is occasioanlly a black segment and i would like to set
it to No fill instead of black. I can do all the If...then but what is
the code to set a section to no fill?

many thanks
 
D

Dave O

Try this, please:
Charts("EPE Wheel").SeriesCollection(1).Points(pnt).Interior.Color = 0
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top