Randomizing Questions in an Existing MS Word File

NOTE: These instructions are for MS Word 2003; while the same process can be used for Word 2007, the menu choices are a little different.

  1. Begin by highlighting the text needing randomized.
    Text must be contiguous in order to be randomized later. Any additional text, such as manual page headers, will need to be removed temporarily. 
  2. Next click Table > Convert > Text to Table
    A new window, “Convert Text to Table,’ will appear.
  3. Ensure that the following settings are set at their default: 
  • Table size – “Number of columns” set to 1
    NOTE: While we will add another column later, it is important to maintain the information as-is; thus, we choose only one column for now. 
  • AutoFit behavior – “Fixed column width” is checked 
  • Table style: (none) – Choose Paragraph from the “Separate text at” section
    NOTE: This will allow MS Word to create an individual table cell for each question and individual answer. However, we will correct this in the next few steps. 

A new table will be created containing the text.
NOTE: Some cleanup may be necessary at this point; delete any empty rows created by this process. 

  1. Highlight the cells containing the questions and their respective answers only. 
  2. Right-click the highlighted area and select Merge Cells
  3. The questions and their subsequent answers will now be contained in one cell. 
  4. Repeat these steps until all sections are contained in their respective cells. 
  5. Highlight the entire column containing the questions and answers. 
  6. From the menu, choose Table > Insert > Columns to the Left. 
  7. Save the Word document as your original order (i.e., “original_file.doc”, etc.) 

In this new column, insert a randomly generated list, starting from the number 1 to however many questions we have to randomize.

Such a list can be produced at websites such as http://www.random.org/lists/.

  1. Highlight the randomized list and COPY it to your Clipboard. 
  2. Once you have a randomly-generated numerical list, highlight the new column and Paste the number list to this column.
    NOTE: If the new column has two sets of numbers, as shown here, be sure to highlight the column and turn OFF the Numbering format.
  3. Now, we use the numbered list to randomize all the questions. 
  4. Highlight the entire table and choose Table > Sort from the menu. 
  5. In the new menu, choose the following: 
  6. Sort by: Column 1 
  7. Type: Number 
  8. Ascending (order)
  9. Click OK. 

The table will now be randomized, as its numerical order has been sorted, based on a randomized list. This left-handed column can now be used as the questions’ order.
NOTE: Using this method will allow text to retain its ‘hidden text’ feature, which contains the correct answer key. Otherwise, this hidden text is lost.

The table/cell borders may now be hidden, pending overall design choice.

The questions can now be randomized over and over, simply by:

  1. Opening the original file (with the blank column) 
  2. Pasting a randomly-generated numerical list in the left 
  3. Sorting the entire table by this new list
Tagged with:

11 thoughts on “Randomizing Questions in an Existing MS Word File”

Leave a Reply

Your email address will not be published. Required fields are marked *