I'm using the following for populating a combobox list
me.mn2.list = range("MFG2").value
This usually works, but sometimes there are cases where that named range only has one value in it. VBA is giving me an error with this.
"Run-time error 381: could not set the list property. invalid array index."
Is there a reason for this? Do I have to check every time whether there is more than one item? Hope not, that seems to be excessive.
thoughts?
Thanks in advance!
Tim
me.mn2.list = range("MFG2").value
This usually works, but sometimes there are cases where that named range only has one value in it. VBA is giving me an error with this.
"Run-time error 381: could not set the list property. invalid array index."
Is there a reason for this? Do I have to check every time whether there is more than one item? Hope not, that seems to be excessive.
thoughts?
Thanks in advance!
Tim