View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
darno[_21_] darno[_21_] is offline
external usenet poster
 
Posts: 1
Default Random Sort (Can anybody Handle it)

Hi there,


Can any body help me in creating a macro that could select 20 row
randomly from a list of 200 rows and copy those to sheet2, but th
copied rows must not be repeated and must be 20. for example

COLUMN A COLUMN B
1 cat
2 dog
3 cup
4 hat
5 chair

Now on the basis of above data the program should select both th
columns A and B and give them a random sort and select 3 differen
records and paste those to sheet2, For example the desired result ma
be:

1 cat
5 chair
3 cup


Regards,



Darn

--
Message posted from http://www.ExcelForum.com