Ok, basically I've created a random number which is stored in Index and this value is then added as the first value in an array. This process is repeated of making a random index number then storing it in the next value of an array.
I have managed to do this, but I dont know how to search the array full of index values to see if when a random number has been created if that number is in the array then a new random number has to be generated.
I already have some of the code for this bit,
VB Code:
Randomize Index = Int(Rnd * 10) + 3 Do While *the value index is in the array* Index = Int(Rnd * 10) + 3 Loop
The array is called QuestionsDone(13)
Can anyone help me?
Thanks.




Reply With Quote