If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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 one-column table. Select the second list of numbers and convert it to a two-column table. Select the third list of numbers and convert it to a three-column table. Continue until you have converted the twentieth list to a 20-column table. Now select the first twenty numbers from the last (only) column of the first table, copy, column-select 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, column-select 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 1-20 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 two-column table. Select and copy the asterisk, column-select 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) non-asterisk number (3), select the list and convert it to a table with that many columns. Column-select 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 non-asterisk 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
|
|||
|
|||
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 two-column 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) non-asterisk 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 non-asterisk 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
|
|||
|
|||
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 two-column 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) non-asterisk 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 non-asterisk 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 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Add New Field to DB | Karen | Database Design | 7 | October 19th, 2005 08:03 PM |
Access combo box-show name, not ID, in table? | write on | New Users | 30 | April 30th, 2005 09:11 PM |
Table Design | A. Williams | Database Design | 3 | April 29th, 2005 07:02 PM |
Manual line break spaces on TOC or Table of tables | Eric | Page Layout | 9 | October 29th, 2004 04:42 PM |
Table Wizard Does Not Set Relationship if Foreign Key and Primary Key Name Do Not Match Exactly in Case. | HDW | Database Design | 3 | October 16th, 2004 03:42 AM |