Hi,
I am trying to reference a particular combobox in excel.
I know you can use a variable to reference cells etc such as:
For var = 1 to 10
range("A" & var).select
....
next
but what about a combobox. I need to be able to change the value in a particular combobox out of a range of boxes, but this won't work (ie need to get to combobox5):
var = 5
combobox & var = somevalue
nor will
"combobox" & var = somevalue
So has anyone got a bright idea?
thanks
GT
I am trying to reference a particular combobox in excel.
I know you can use a variable to reference cells etc such as:
For var = 1 to 10
range("A" & var).select
....
next
but what about a combobox. I need to be able to change the value in a particular combobox out of a range of boxes, but this won't work (ie need to get to combobox5):
var = 5
combobox & var = somevalue
nor will
"combobox" & var = somevalue
So has anyone got a bright idea?
thanks
GT