#1
|
|||
|
|||
Q: How to create random list with no duplicate
Good great people!
I have a list of students stored in a recordset (access db). I need a vba code that: creates a random [/B]list of students based on the recordset BUT without duplicates and PROVIDED that each student shall appear in the list. Thanks and Best Regards |
#2
|
||||
|
||||
You can add a random order to a SQL query as you grab the recordset.
See sql - Random sorting query Access - Stack Overflow
__________________
Andrew Lockton Chrysalis Design, Melbourne Australia |
#3
|
|||
|
|||
Thanks for your kind effort. But, I need to do this from within word VBA itself.
Sorry for disturb |
#4
|
|||
|
|||
Hi, I've played around your idea. It works fine now. Thaaaaaaaaaaaaaaaaanks
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Need to scroll Excel list and select random name | GreySquirrel | PowerPoint | 1 | 07-12-2019 12:06 PM |
Create a list that contains duplicate and unique names without blanks | Iced42 | Excel | 1 | 06-30-2015 04:50 PM |
Random contacts being automatically added to contact list | jjmclell | Outlook | 0 | 03-10-2015 07:36 AM |
list of documents come up in random order - any ideas how to sort this? | tallscot49 | Word | 0 | 07-18-2010 12:40 AM |
Random names from a given list | professor snape | Excel | 1 | 06-06-2009 09:39 AM |