+ Reply to Thread
Results 1 to 7 of 7

Wanting to create a random word generator that will not double up the random word

  1. #1
    Registered User
    Join Date
    02-07-2019
    Location
    oz
    MS-Off Ver
    2016
    Posts
    5

    Wanting to create a random word generator that will not double up the random word

    Hey i was looking at creating a random word generator that does not double up on words, so when i click a command button on sheet 1, it pulls a word from sheet 2 and displays it underneath the command button on sheet 1.
    Please help as i am stuck on the code. i have got a random word generator but it doubles up.
    Attached Files Attached Files
    Last edited by Simon.g; 02-20-2019 at 10:49 PM. Reason: Solved!

  2. #2
    Forum Expert
    Join Date
    10-10-2016
    Location
    Sheffield
    MS-Off Ver
    365 and rarely 2016
    Posts
    3,210

    Re: Wanting to create a random word generator that will not double up the random word

    so you just want to return 2 words that aren't the same?

    do you mean this
    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-07-2019
    Location
    oz
    MS-Off Ver
    2016
    Posts
    5

    Re: Wanting to create a random word generator that will not double up the random word

    Nah i was trying to get it to go through the whole list before it starts the list again if you know what i mean?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Wanting to create a random word generator that will not double up the random word

    Nah i was trying to get it to go through the whole list before it starts the list again if you know what i mean?
    That's not random, that's either sequential or some other fixed pattern.
    Last edited by shg; 02-13-2019 at 07:41 PM.
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Wanting to create a random word generator that will not double up the random word

    Let me see if I have this right: If you have a list of 10 words then with 10 "New word" button clicks you want to see every word in the list appear once but in random order - no repeats. On the 11th "New word" button click you start the whole process over so that over the 11th to 20th "New Word" button clicks you again want to see every word in the list appear once but in random order and so on and so on.

    I have modified your code just to illustrate the principle If your list of words is long this code will be inefficient and you will need a less simplistic approach.

    Here is your modified code:

    Please Login or Register  to view this content.
    The attached workbook implements the above:
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    02-07-2019
    Location
    oz
    MS-Off Ver
    2016
    Posts
    5

    Re: Wanting to create a random word generator that will not double up the random word

    That is perfect! thanks so much for that!!!

  7. #7
    Forum Expert
    Join Date
    10-15-2018
    Location
    MA, USA
    MS-Off Ver
    2010, 2019
    Posts
    1,616

    Re: Wanting to create a random word generator that will not double up the random word

    No problem, glad to help - and thanks for the reputation points

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Wanting to create a random word generator
    By Simon.g in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2019, 11:46 PM
  2. Random word generator
    By shorie7 in forum Excel Formulas & Functions
    Replies: 19
    Last Post: 07-11-2016, 10:18 AM
  3. Possible to make a random word generator?
    By Joelb58 in forum Excel General
    Replies: 15
    Last Post: 04-25-2014, 12:31 PM
  4. Random Word Generator from Dictionary
    By jzg in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-17-2014, 05:33 PM
  5. [SOLVED] Random word generator for learning
    By randomcow in forum Excel General
    Replies: 12
    Last Post: 02-01-2013, 07:44 AM
  6. random word generator
    By shadowplay in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-31-2010, 07:52 AM
  7. Random word generator
    By zealot in forum Excel General
    Replies: 3
    Last Post: 08-13-2010, 06:06 PM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1