rnd function

Results 1 to 2 of 2

Thread: rnd function

  1. #1
    coolebony Guest

    Default rnd function

    Does anyone know a good example I could use to select a random row and/or index in an array using the rnd function?<BR><BR>Thank you for your assistance!<BR><BR>coolebony

  2. #2
    peterjl@austec.net.au Guest

    Default RE: rnd function

    &#060;%<BR>Dim X, aArray, Ndx<BR>Randomize<BR>Ndx=CLng(Ubound(aArray) * rnd)<BR>X=aArray(Ndx)<BR>%&#062;

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts