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:
  1. Randomize
  2.     Index = Int(Rnd * 10) + 3
  3.         Do While *the value index is in the array*
  4.             Index = Int(Rnd * 10) + 3
  5.         Loop


The array is called QuestionsDone(13)

Can anyone help me?

Thanks.