Hi,
How can I count the number of select rows in a list box and attribute all those select items to one value i.e. 3.
The current row selection will tally all the number of select rows, meaning if I select 2 rows, the result is 2.
What I want to do is say whether you select one item or 5 items, the result is 3. It's a scoring system.
Selecting from the approved list, gets you 3, selecting from the non functional list, gives you a 1, selecting from
both lists give you a 2.

The code for counting the selected rows is as below.
CountRows(listbox1.SelectedItems)