Chance1234
IS-IT--Management
been away from vba forms for a bit to long, this is driving me mad!
I have an array (var_advisor) that looks like the following
3,A.N,Other
2, Bloggs,Joe
6, Blogss II,Joe
4, John,Doe
7, One,Two
5, Person,Test
8, Problem ,Refresg
I then have a combo box cbo_madvisor
I have set up the combo box with two columns ,
Bound Column property set to 0 ,
Column Count set to 2 .
Textcolumn Set to 1
Column widths set up 0pt,45pt
Match required = True
And my code looks somethign like this
cbo_madvisor.list = var_advisor
All fine and dandy;
However when i try the following code
cbo_madvisor.value = 8 I get a index property value error '380'
If i change the column widths to 30;30 so the first column is not hidden i do not get this error.
It seems to me that when you hide that column , the value switches to teh listindex.
What Am i missing here ?
Chance,
F, G + HH
I have an array (var_advisor) that looks like the following
3,A.N,Other
2, Bloggs,Joe
6, Blogss II,Joe
4, John,Doe
7, One,Two
5, Person,Test
8, Problem ,Refresg
I then have a combo box cbo_madvisor
I have set up the combo box with two columns ,
Bound Column property set to 0 ,
Column Count set to 2 .
Textcolumn Set to 1
Column widths set up 0pt,45pt
Match required = True
And my code looks somethign like this
cbo_madvisor.list = var_advisor
All fine and dandy;
However when i try the following code
cbo_madvisor.value = 8 I get a index property value error '380'
If i change the column widths to 30;30 so the first column is not hidden i do not get this error.
It seems to me that when you hide that column , the value switches to teh listindex.
What Am i missing here ?
Chance,
F, G + HH