Hi Guys,
I have a combo box with 20 items in it, i was wondering if it was possible to grab an item at random and display it, i'm not sure what code i would need , any help would be appreciated
thanks guys
Graham
Printable View
Hi Guys,
I have a combo box with 20 items in it, i was wondering if it was possible to grab an item at random and display it, i'm not sure what code i would need , any help would be appreciated
thanks guys
Graham
vb Code:
dim randomNumber as new random msgbox(combobox1.items.item(randomNumber.next(0, combobox1.items.count)))
thanks paul :)
Graham