I want all selected values from the listBox.
On Tue, Sep 22, 2009 at 11:04 AM, Dan Sheffner wrote:
> Can someone please give me the code to loop through a listBox and put all
> values into a string array?
>
> I would think this would be very straight forward but I'm having a very
> hard time find
Can someone please give me the code to loop through a listBox and put all
values into a string array?
I would think this would be very straight forward but I'm having a very hard
time finding any documentation on this or an examples.
Thanks in advance.
~Dan
--
Never mind I found it.
'-
---
PUBLIC FUNCTION multipleSelections(targetLB AS ListBox) AS String
DIM targetCount AS Integer
DIM foundSelected AS Integer
DIM Res AS String
targetCount = 0
foundS