Hi
I've been trying to assign certain colours to Pie Chart slices. The following code does work, however I'd prefer to refer to the slice by name instead of number because the items in the pie chart won't always be in the same order.
This code works:
This code does not work, but I want to use a name:
The Microsoft help does state that Points(index) is a Variant and a name or number can be used, but if I use a name, I get a "Type Mismatch" error, which tells me that it only wants a number.
Hopefully somebody out there knows a way to achieve this.
Thanks in advance
Bookmarks