Posted to microsoft.public.excel.programming
|
|
how to choose random namber form loop?
See
Random Selection
http://www.tushar-mehta.com/excel/ne...and_selection/
particularly,
Selecting a random subset without repeating -- using a user defined function
(UDF)
http://www.tushar-mehta.com/excel/ne...ction/vba.html
--
Regards,
Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions
In article , says...
hello,
i have simple loop
For i = 1 to 100
call something
Next i
and i'd like to run this loop on 20 random "i" numbers without repetition
eg: 74, 3, 32, 1, 2, 15, 92, 22, and so on...
how can it be worked out?
rgs
|