The Rnd function will return a random number between 0 and 1. If you want an integer between say 1 and 10 inclusive then you would do this:
So for your list, it depends on how you are storing your list. If you have it in an array then just use a random array index, like this:Code:RandomNum = Int(Rnd * 10) + 1
Code:RandomWord = WordsArray(RandomIndex)


Reply With Quote