Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Wildcards in Excel VBA - HELP
Hello, i'm working in Excel 2000 and I have some VBA code (taken from
http://pubs.logicalexpressions.com/P...cle.asp?ID=390) which gives a segment in a Pie Chart a colour baed on its description. Unfortunatley the suffix of the segment is always different so I would like to use a wildcard for the suffix. A typical segment description is "Personal Banking - £100k". I have tried to insert a wildcard into the code but it does not work (i.e. change the segment colour), any suggestions? 'Case "Personal Banking - *" .Points(iPoint).Interior.ColorIndex = 13 ' Purple' If I type in 'Case "Personal Banking - £100k" .Points(iPoint).Interior.ColorIndex = 13 ' Purple' it works fine but with the suffix changing as the data changes its not practical to manually adjust the code. Please help. Thanks Brian |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
WildCards in Excel | Excel Worksheet Functions | |||
excel 2003 wildcards | Excel Worksheet Functions | |||
Excel - Wildcards | Excel Discussion (Misc queries) | |||
How can I find strings of wildcards in Excel? | Excel Discussion (Misc queries) | |||
Excel Searching and Wildcards | Excel Programming |