dominicb posted this as an example of generating unique random numbers from a defined range 1-90
so i thought i'd modify it fot use in a raffle
code was
so after a bit of playing i thoughtPlease Login or Register to view this content.
if i changed this to
i could use it for raffle tickets, it seems to work okPlease Login or Register to view this content.
but then i thought what if i only sell say tickets 200 to 599
and only those to be selected, this is where i cant figure it out. ideally i'd like to be able to put start and end numbers of range in say a2/b2.
and..................sorry.....a means of stopping it cleanly when all prizes given out. i know control brk works but is there another option?
Bookmarks