M
Minitman
Greetings,
I am trying to set a CheckBox to either true or false depending on if
the value on row 1 column 81 is "X" or empty
I have this statement in a sub:
___________________________________________________________
....
If ComboBox1.List(ComboBox1.ListIndex, 80) = vbNullString Then
.....
___________________________________________________________
That keeps coming up with an invalid argument error. I don't
understand, the elements of the argument appears to be correct.
It's supposed to see if the value on row 1 in the 81st column of the
ComboBox List is empty or not (a checkbox loaded it with an "X" or ""
when the record was created)
Debug shows the value of the ListIndex as 1 which is correct.
Can anyone advise as to where or what could be causing this problem?
Any help will be appreciated.
Thanks for looking at my question.
-Minitman
I am trying to set a CheckBox to either true or false depending on if
the value on row 1 column 81 is "X" or empty
I have this statement in a sub:
___________________________________________________________
....
If ComboBox1.List(ComboBox1.ListIndex, 80) = vbNullString Then
.....
___________________________________________________________
That keeps coming up with an invalid argument error. I don't
understand, the elements of the argument appears to be correct.
It's supposed to see if the value on row 1 in the 81st column of the
ComboBox List is empty or not (a checkbox loaded it with an "X" or ""
when the record was created)
Debug shows the value of the ListIndex as 1 which is correct.
Can anyone advise as to where or what could be causing this problem?
Any help will be appreciated.
Thanks for looking at my question.
-Minitman