Hi,
First Post for me.
Thanks to all of you folks who check these forms and help out. I'm a student learning VBA and programming for the first time, the hair pulling and stress becomes quite fun after a few weeks, but if it wasn't for these forums it wouldn't, it would suck, a lot.
I am stuck, not looking for the answer just the direction.
Everyone know the game DOTS? I am building this in VBA, one of my userforms has a combo box where players can select the board colours for the game.
I want to populate this list with the 56 colours of the excel colour index. How does excel store the values in the colour index, is it as an array, is the array two dimensional or how does excel convert the Names of the colour index to numbers (like black = 1, the colorindex = 1 and somehwere excel has it written that 1 is black...where is this rainbow?)
I thought maybe I'd be lucky and the code would something like:
' In Module build array:
' option base 1 is on
and then in the userform
userform_initialize()
Logically, I can see several flaws (like what would the combobox be populated with, number 1 to 56, names etc...)
I've searched many forums and many posts about the colorIndex but they are too basic for even this basic question.
Thanks for reading, feedback, hints, etc... are welcome, please do not post the solution code though, I can't learn from copying as well as I can learn from problem solving...just looking for a hint or well to know if my plan is even possible.
Bookmarks