C
Coby
Does anyone know if it is possible to set the row source for a list
box to an array rather than a range of cells?
I am mainly trying to filter out certain rows from the list box.
I Access it is simple because an Sql query with a Where clause does
the trick by committing a recordset much like an array to the list
box.
I am not sure how to do this using the list box object in Excel,
however.
I had also thought of just going with the range of cells rather than
an array if I had to, then just running a loop to remove items from
the list?
I tried both scenarios and have had no luck.
Thanks for sharing any knowledge you may have on this.
Coby.
box to an array rather than a range of cells?
I am mainly trying to filter out certain rows from the list box.
I Access it is simple because an Sql query with a Where clause does
the trick by committing a recordset much like an array to the list
box.
I am not sure how to do this using the list box object in Excel,
however.
I had also thought of just going with the range of cells rather than
an array if I had to, then just running a loop to remove items from
the list?
I tried both scenarios and have had no luck.
Thanks for sharing any knowledge you may have on this.
Coby.