ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Select Case (https://www.excelbanter.com/excel-programming/356679-select-case.html)

Adam Ghahramani

Select Case
 
I was really discouraged that this didn't work. I wanted to be able to
dynamically set the cases for my SELECT statement. However, Excel
doesn't seem to support this. Does anyone have any other ideas?


SAMPLE CODE:

Select Case Bucket(i)

For aa = 0 To UniqueCount

Case Unique(aa):

ActiveChart.SeriesCollection(1).Points(z).MarkerBa ckgroundColorIndex =
aa

Next aa

End Select



All times are GMT +1. The time now is 02:11 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com