Home 
Search 
Today's Posts 
#1
Posted to microsoft.public.word.tables




20x20 multiplication table
Someone asked how to make a 20x20 multiplication table in Word, but I
lost the thread so I am posting a new message. Obviously the easy way to do it is to make a table and type in the numbers. The second easy way is to use Excel. However, it is perfectly possible to make such a table in Word without typing a single number. Create an empty 20x20 table to hold the answers. In some scratch space, create at least 400 empty paragraphs. Autonumber the paragraphs, then convert the numbers to text. You now have the numbers from 1 to 400 or so. Select the numbered paragraphs, copy, and paste back into the document until you have twenty copies. Select the first list of numbers and convert it to a onecolumn table. Select the second list of numbers and convert it to a twocolumn table. Select the third list of numbers and convert it to a threecolumn table. Continue until you have converted the twentieth list to a 20column table. Now select the first twenty numbers from the last (only) column of the first table, copy, columnselect the first column of your final 20x20 table and paste the numbers into it. Select the first twenty numbers from the last column of the second table, copy, columnselect the second column of your final 20x20 table and paste the numbers into it. Continue pasting the first twenty numbers from the last column of each successive table into successive columns of your answer table. You should now have your desired multiplication results. Add an extra row at the top and an extra column at the left, select the first twenty numbers from the fist scratch table and paste them into the appropriate places in the added row and column to get the 120 numbers along the edges if desired. For extra credit, try the following. Start with your list of 400 numbers, and on some other line type an asterisk. Select the list of numbers and convert it to a twocolumn table. Select and copy the asterisk, columnselect the last column in the table, and paste the asterisk. Convert the table back to text, separating on paragraph marks not tab characters. Now look down the list for the next (ignore the 1) nonasterisk number (3), select the list and convert it to a table with that many columns. Columnselect the last column in the table, and paste the asterisk. Convert the table back to text, separating on paragraph marks not tab characters. Do this whole process again for the next nonasterisk number (5), and keep doing it until the smallest number that is not 1 or an asterisk is greater than 20. At this point you have a list of all the prime numbers less than 400, without typing a single number or doing any arithmetic. Bob S 
#2
Posted to microsoft.public.word.tables




20x20 multiplication table
I hit "Send" too soon; there is a slight error in the directions for
"extra credit". The corrected version is below: For extra credit, try the following. Start with your list of 400 numbers, and on some other line type an asterisk. Select the list of numbers and convert it to a twocolumn table. Select and copy the asterisk, select the cells in all but the first row of the last column in the table, and paste the asterisk. Convert the table back to text, separating on paragraph marks not tab characters. Now look down the list for the next (ignore the 1) nonasterisk number (3), select the list and convert it to a table with that many columns. Select the cells in all but the first row of the last column in the table, and paste the asterisk. Convert the table back to text, separating on paragraph marks not tab characters. Do this whole process again for the next nonasterisk number (5), and keep doing it until the smallest number that is not 1 or an asterisk is greater than 20. At this point you have a list of all the prime numbers less than 400, without typing a single number or doing any arithmetic. Wish me luck, I am about to hit "Send" again... Bob S 
#3
Posted to microsoft.public.word.tables




20x20 multiplication table
Easier to run a macro containing the following commands:
Dim mytable As Table Dim i As Long Dim j As Long Set mytable = ActiveDocument.Tables.Add(Range:=Selection.Range, NumRows:=20, NumColumns:=20) For i = 1 To 20 For j = 1 To 20 mytable.Cell(i, j).Range.Text = i * j Next j Next i  Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins  Word MVP "Bob S" wrote in message ... I hit "Send" too soon; there is a slight error in the directions for "extra credit". The corrected version is below: For extra credit, try the following. Start with your list of 400 numbers, and on some other line type an asterisk. Select the list of numbers and convert it to a twocolumn table. Select and copy the asterisk, select the cells in all but the first row of the last column in the table, and paste the asterisk. Convert the table back to text, separating on paragraph marks not tab characters. Now look down the list for the next (ignore the 1) nonasterisk number (3), select the list and convert it to a table with that many columns. Select the cells in all but the first row of the last column in the table, and paste the asterisk. Convert the table back to text, separating on paragraph marks not tab characters. Do this whole process again for the next nonasterisk number (5), and keep doing it until the smallest number that is not 1 or an asterisk is greater than 20. At this point you have a list of all the prime numbers less than 400, without typing a single number or doing any arithmetic. Wish me luck, I am about to hit "Send" again... Bob S 
Reply 
Thread Tools  
Display Modes  


Similar Threads  
Thread  Forum  
How do you make a multiplication table using numbers.  Tables  
Table headers/footers and layout  Page Layout  
How to Avoid Word 2003 Table Style Problems  Tables  
Table AutoFormats vs. Table Styles confusion  Tables  
Row height problem with table in table  Tables 