J
jeffery
i need help with a combo box and this same code works on my first tab with a
combo box. The error or problem i have is this code causes an index out of
range error when i run it on my second combo box:
(errored code) Select Case ComboBox2.text
Case Is ="Execute Program"
'code to execute program here
Case Is ="Other Command that executes code at a certain time"
' code below the same as above except that it works
But not my first(this code works fine):
Select Case ComboBox.text
i tryed changeing my selected index so it would always have a zero or first
item in the index subscript and checking index properties but i still get
this error and i put my selected index in a combo box just to see if thats
not the error and it is not the index is equal to -1.
any help as to why this happens because i dont know why but every time i get
this error
thanks for any help that can be offered,
jeffery the planner
combo box. The error or problem i have is this code causes an index out of
range error when i run it on my second combo box:
(errored code) Select Case ComboBox2.text
Case Is ="Execute Program"
'code to execute program here
Case Is ="Other Command that executes code at a certain time"
' code below the same as above except that it works
But not my first(this code works fine):
Select Case ComboBox.text
i tryed changeing my selected index so it would always have a zero or first
item in the index subscript and checking index properties but i still get
this error and i put my selected index in a combo box just to see if thats
not the error and it is not the index is equal to -1.
any help as to why this happens because i dont know why but every time i get
this error
thanks for any help that can be offered,
jeffery the planner