Do a count in a listbox...
Posted: Thu Apr 23, 2009 1:48 am
I have a ListBox called lst_Right and I want to count the total number of items in the listbox, not selected, all of the objects in box. I've tried a bunch of different properties (VBScript) and cant' find the right one:
MsgBox lst_Right.ListCount MsgBox lst_Right.Item.CountMsgBox lst_Right.Items.CountMsgbox UBound(lst_Right)
MsgBox lst_Right.ListCount MsgBox lst_Right.Item.CountMsgBox lst_Right.Items.CountMsgbox UBound(lst_Right)