|
Word Advanced Techniques eBook Author: Dian D. Chapman |
||||
|
These links below will help you navigate through this lesson. The link above will take you to the next lesson.
Note! In order to show image details in this lesson, some images are large. If you need to print this lesson, adjust your browser PageSetup settings. If you can't lower your default margins enough to print the page properly, use the landscape print mode to ensure text is not cut off the page. Lesson One: Organizing When you're organized, you can work more efficiently. To become better organized, you need to know the program you're using and know it well, so you can take advantage of features that will help you do your job better. In this lesson, I'll show you how to get the most out of the Tables and Outline features in Word so you can use them to get yourself more organized. Table Options In this lesson, I'll teach you a lot of tricks to help you learn to quickly create and use Tables, so you'll feel comfortable about using it as a quick fix, too. Getting Tricky There are three basic ways to add a table to a page in Word. You can add one through the Table menu. You can draw one out using the Table Drawing Tool from the Table Toolbar, or you can drag out the cells you need by using the Table Grid from the Standard Toolbar or the Forms Toolbar. But there's also a tricky way to add one, by using the Auto feature. So we'll play with that way first, then we'll investigate the standard routes. Click Tools/AutoCorrect to bring up the auto features dialog box. Click on the AutoFormat As You Type tab and be sure you have the Table option checked. See the image below for details and note where my trusty assistant, Rocky, is pointing.
Click OK to back out of this dialog box. Return to your page and type the following on the page: (Note that the vertical character is called a Pipe and you'll find it on your keyboard with the backslash key. Hit Shift to get that symbol. It will look like two vertical dashes on the key, but displays a single pipe character when typed. The other characters are simple hyphens. Type any length you want.)
Keep your cursor positioned on that line when finished typing and hit the Enter key. If all is well, you should suddenly have a two cell table on your page as shown in the image below.
Pretty cool, eh? If you're in a hurry and need a couple quick table cells placed on the page, this is a pretty neat little auto feature. This also comes in handy when you want to nest tables, by putting one table inside of another one. Yes, this trick will work inside of another table, too. But, as always, you must have the auto feature option for tables turned on for it to work. Tables (and Borders) Toolbar Let's take a closer look at this toolbar.
And if you want, you can easily modify the toolbar by clicking the Add/Remove Button drop down arrow.
When you click the tiny, black down arrow, a popup appears letting you quickly toggle off any button or reset the toolbar. You can also click Customize to put the toolbar into a mode that will allow you to drop in or drag off any command you want.
Let's look at each of these items a little closer.
Working with Tables Selecting Parts of a Table If you need to select a row in a table, move your mouse to the left of the row, outside the border until the cursor turns into a backward arrow. Click and you'll select the entire row.
If you need to only select a cell, move the cursor just inside the cell you need to select until the cursor turns into a solid, black arrow, click and you'll select just the cell.
If you have to select several cells in a row or across a column, click to select one cell, then continue to hold down the mouse button and drag to extend the selection in whichever direction you need. Release the button when you've selected what you need. You can also hold down the Shift key and click in another cell to select all cells between.
To select a column, move the cursor to the top of the table until the cursor turns into the solid black, selection arrow. Click to select the entire column. Again, you can drag the arrow to continue across to select several columns. Give it a shot!
There are three quick ways to select an entire table. 1) When your cursor is within the bounds of a table, you'll notice a cross-hair marker in the upper, left corner of the table. This is the Move handle. But you can click it to select the entire table. However, if you also need to move the table, while you've captured that handle, continue to hold the mouse key down and drag the entire table to a new location! 2) You can hold down the Alt key and hit the 5 key on your keypad. Make sure you have the NumLock control turned off for the keypad. 3) Click Table/Select/Table.
Tip! If you get frustrated waiting for Word's menus to display the entire menu, you can either turn off this feature by clicking Tools/Customize/Options and setting your choices. Or a simpler way (which is how I do it) is just get into the habit of double clicking the top menu and the full menu will instantly be displayed! If you decide you need to change the size of the table, you can easily adjust its look and size by using the Resize handle. Again, when you hover over a table, you'll notice a tiny square that appears at the bottom, right of the table. Click it and drag the table outline to whatever new shape you need.
By moving the Resize handle, I can change my table from the full page table I've been using so far, to a smaller table, as you can see below. Try it!
You can also easily select any section of a table by clicking in a cell, holding down the Shift key and using the arrow keys to move the direction of your selection. Or click three times in any cell to select it. Then again, you can hold down the mouse button and drag your selection in whichever direction you need. Release when finished selecting. Formatting a Table There are tons of ways to format a table. You can select any portion of a table, as I showed you above, and then you can set background shading, line color, line styles, line thickness and also set the default font size, type, color and alignment for any area. So I won't go into too much detail, because the choices are as big as your imagination. But I will show you a couple of cool formatting tricks of which you may not be aware. First, know that you can easily merge or split cells by selecting the area you want and using the Split Cell or Merge Cell options on the Table menu. Just be aware that you will have trouble sorting a table if you've merged cells. So it's sometimes better to just add cells or reconfigure the table if you'll be doing sorting! You can make tables look quite cool, by adding a few formatting tricks.
Open a blank page in Word by hitting Ctrl/N. Hit Ctrl/S to save this sample page. This page will be your practice page for this lesson. Follow along with me to quickly create the above table on your sample document.
Pretty cool looking table, eh? Note! If you are using Word 2002 (from Office XP), Microsoft has added Table Styles! You can do something similar by creating a table and setting large cell border lines. Then change the border line color to white. This will give the effect of separated cells.
Toss another table on your sample page. Make this one 5 columns and 10 rows. Select the table and hit Ctrl/0 (zero) to add spacing so we have more room to work with our cells. Select the first row. Click Format/BordersAndShading and choose the Borders tab. Scroll down the border Style list, nearly to the end and select the style that looks like a 3-D bar. This is a great border for making your cells look like buttons. Note! When you add formatting to a full row, an annoyance is that the formatting can attach to the top of the next row. So it's a smart move to then select the next row and remove any formatting above. This will help to ensure that when you sort the table rows, one row doesn't end up with goofy formatting.
Now add a little light gray shading to the background of the cells in this top row. Hit Ctrl/Shift/> to increase the font size a little. Click Ctrl/E to center the text. Hit Ctrl/B to make it bold. The boss comes along and tells you s/he's changed his/her mind and you only need 3 columns. So select the last two columns and hit Ctrl/X to remove them.
But now your table is short of the page and you want it to fit the size of the page. Position your cursor inside the table and click the Insert/Table icon's drop down arrow (next to the icon) and select AutoFit to Window from the popup menu. Or you can choose this same option from the Table menu.
You also now realize that you need 10 rows in the table for data. You originally set the table to 10, but you used one for the heading row. So position your cursor on the far right end of the last row, outside of the table and hit Enter. A new row will be added. Now you have 10 rows for data and 1 for the heading. Now we need to fill up the table with some data to sort. Type in a couple numbers into each cell down the first column. Highlight those columns with the numbers and hit Ctrl/C to copy. Now go highlight all the empty cells in the two remaining columns and hit Ctrl/V and the data from the first column will be added into the other two columns, too! Copying the same data from one column to all the others may not be very practical. But I wanted you to see how you can quickly copy information and how it'll fit into the same cells. If you were filling out a table that needed the same item for all the columns, you could easily duplicate the information by using copy/paste. Or if you realize information in some cells/rows/columns should be moved, you can highlight the text, hit Ctrl/X to cut it from that area, then move to the new area, highlight and hit Ctrl/V to paste. This is much easier than retyping! Note! If you highlight an area in a table and hit Delete, you will only delete the information from inside that area—the data. If, however, you needed to delete the actual column/rows from the table structure, versus just deleting the data, you need to highlight the area and then hit Ctrl/X. This move will actually cut that portion of the table out, versus just removing the data from within. The boss is back!<g> And now s/he has decided you will be needing one extra column because you'll need to have auto numbering in that first column. So highlight the first column and click Table/Insert/Column To Left to add a new column at the left of the table. Click in the first cell in that new column. Click Insert/Field/AutoNum. The number 1. should now be in that cell. This is a field. You can see that it is a field by selecting just that number (not the cell) and hitting Shift/F9 to convert the results back to the field. Hit Shift/F9 again, or F9 to update, to revert it back to a number. While still selected (or select it again if you unselected it), hit Ctrl/C to copy this field. Highlight the remaining cells down this column and hit Ctrl/V to paste a copy of this field into each cell. All the cells should now be numbered. Neat, huh? Quick Sort Macro First, select the top, heading column and click Table/HeadingRowsRepeat. This will ensure that Word knows this row is a heading and won't attempt to sort it. Click in the second column heading (the first one with data) and click Tools/Macro/RecordMacro (or click the REC button in the middle/bottom of your Word screen). Name the macro and call it SortTable. (Note! Do not add any spaces in the name, type it exactly as I did.) Once you hit OK, the macro recorder will be recording your keystrokes! So pay attention and hit the keys just as I tell you to so you won't have a mess to clean up.
If you've been following along correctly, you should not have any text yet entered into the heading columns. We're going to add a MacroButton into the Heading cell. The button will cause this macro to run when clicked. So you won't have to click Table/Sort/OK anymore. You'll just double click the heading and the table will automatically be sorted by that column! But we still have work to do to get it working right. Position your cursor in the Heading cell of the second column. Click Insert/Field. Be sure the (All) item is selected in the left column. Then scroll down the right until you find MacroButton (or click in that list and hit M to jump down to the Ms.) Select the MacroButton field and click the Options button at the bottom of this dialog. In the next dialog, scroll down the Macro Name list to find the macro you just recorded, named SortTable. Select it and have that name added into the field input box. Then, within the input box at the bottom, type the text you want displayed in this column. My column will be called Column One. You can type the same or something different. The dialog should look like the image below.
Click OK. You should now see the name you typed into the input box for the field in the column. Save your document! You can now double click the title in that column and your table will be sorted by that column. Note that since all the data we copied is the same, it might be difficult to notice it sorted anything. So feel free to change some of the data to some other numbers, maybe 111 or 999, so you can see that it's resorted in that column. Modifying a Macro! Click Tools/Macro/Macro. Highlight the SortTable macro and click Edit. This will drop you into the editor, right at the macro you need. You'll highlight the macro code you just recorded, copy it and change the column number, as well as the name. See the image below for details. Note that you can also just hit Alt/F11 to enter the VB Editor. But if you have a lot of macro code in there, you'll have to search a bit to find the right one. By entering through the macro dialog box, you can find the one you need, first, before you enter the maze of code.
You will highlight all the code for the SortTable macro. Hit Ctrl/C to copy. Move your cursor to the end of the macro you just copied and hit Ctrl/V to paste a second copy of it. You need to change the name. So add 03 to the SortTable name. Then look within the code for the Column 2 notation (note where Rocky is pointing in the above image) and change it to Column 3. Do this one more time, but this time call the new macro SortTable04 and change the sort column to 4. Hit Ctrl/S to save this revised code. Close the VB Editor and return to your table. Highlight the Macro Button field code you inserted into Column 2. Hit Ctrl/C to copy it. Move to the heading in Column 3 and hit Ctrl/V to paste a copy of this field in that heading. Now you just need to adjust the code in the field. Highlight the field code in Column 3 and hit Shift/F9 to revert the field to the field code. Change the name of the macro from SortTable to SortTable03 (or whatever you named the one you set to sort Column 3). Also change the display text so this column will be named something else. Go to the next heading and do the same, but revise the name for that column. See the image below for details of how your table headings should now look (using the names you used, of course).
Once you're finished adjusting the field code, you can hit Ctrl/A to select all of the document. Then hit F9 to update the field. The fields will all revert to the text by hiding the code. Hit Ctrl/S to save your document! Now you can double click on any of the 3 headers to quickly sort the table by this column! This may seem like a lot of work. But if you had a table that you constantly needed to sort to display the list by different columns so you could find the information you needed, you'd learn to appreciate this quick click to sort, rather than constantly dealing with the table dialog box! And once you learn to do this, you can copy this code to a tip document and save it. Then you can quickly add it to any table you need, just by changing the sort column number and display text. Organizing Files If it's a bunch of music files, you can create columns for Artist, Song Name and File. Maybe add your AutoNum field so you'll be able to quickly see how many files you have. Then use Hyperlinks to add a file link. You can quickly add a Hyperlink by hitting Ctrl/K. Enter the file path or browse to add it from a directory. You can change the display text so it doesn't give the path, but some name like Picture Link.
As you can see in the image above, I have this table created to easily sort my photos. I've added macro buttons, so I can click to sort by whichever category I need to find the picture I want. Then I can click the Hyperlink to the picture to quickly have it displayed! (Realize that the Macro Buttons are displayed in code here just so you'll see how it works. Obviously, for your master table, you'll want to convert the field to the display text. So you'd select the field and hit F9 or Shift F9 to hide the code I've displayed above.) And now that I've taught you all this, I'll also tell you that I have a freeware utility that you can download from my web site that will create a sort table, like the one above, for you automatically! It'll add the macro buttons, too! But don't feel you did this all for nothing. Because now you know how to use that MacroButton field and you can use it for all sorts of things. Anytime you want to automatically run a macro, you can have that on your document and it'll run right from your document. And if you know VBA or take my Word AutoForm/Beginning VBA eBook course, you'll know how to write lots of useful macros that you can use with this feature. To read another, detailed article I wrote on this subject, click this link. At the bottom of the article, you'll find the link to the free utility you can download. Enjoy! Link: http://www.computorcompanion.com/LPMArticle.asp?ID=149. Converting To/From a Table Say you had a document with some data. If the datum is separated by any character, including a space, you can easily convert it to a table.
Above you can see this very complex data I have!<grin> I can easily convert this to a table. I just select the data and click Table/Convert To Table. I make my selections and bingo, a table.
Because I had an extra comma after Beth's name, I ended up with an extra, empty column. But I can easily select it and hit Ctrl/X to cut it from my table. If I then needed to stretch the table to refit on the page, I could again select the AutoFit to Window option. If I had a pile of data that was a little more complex, like a mailing list, I could still convert it.
If I had a list like the one above, I could just hit Ctrl/A to select it all. Then I'd use the same convert feature, but choose the Other option. I would enter the < character as my separator. Then I would end up with a table that listed the names and emails. If need be, I could then select the column(s) of information I didn't need and delete that data.
Then I could quickly convert the table back to data. If I needed that information to send emails, I could convert it back to text, search and replace the final > marker with a semicolon and remove the line returns so the text would then be ready to copy and dump into an email.
If you did this sort of thing often, you could record a macro. Sure, I suppose you can also do this in Excel or Access. But because I know Word and can make it dance for me, I usually just convert what I need, quickly, by taking advantage of the table feature to compile, sort, extract and organize my data. The above conversion took me about 20 seconds! Even faster if I ran the macro I have that does this all for me! Table Tips
Outline View If you need to write a document, you'd be wise to start with the Outline View. You can quickly organize your thoughts into an Outline. Just type your thoughts and hit enter to move to a new line to add a new thought. If the new thought will be a sub heading to the previous thought, just hit the Tab key to move the level of that heading. When you need to go back to a previous level, use the Shift/Tab key to move the text backward in the levels.
If you need to move information around in your outline, click to select the item and drag it to where it needs to be.
You can quickly Expand or Collapse any level from view by hitting Ctrl/A to select all the text, then Tab out the levels to change by hitting either the Expand button (+) or the Collapse button (-). Or just double click on the + - signs next to the level you want to open or close.
Although you can create sub documents through this Outline view, I don't suggest you do. The Master Document feature in Word uses this Outline view to sort sub documents like chapters in a book, to separate files. However, the feature has never worked well and often times will corrupt and trash your project just when it gets large enough to nearly be done! If you have to put together a book, I'd suggest you read an article I wrote on the subject or you can purchase my Advanced Document Design eBook course. In that course, I'll teach you how to deal with the potential headaches of creating large documents in Word, so the job will be less frustrating. Here's the article if you want to read it: http://www.mousetrax.com/mastdoc.html. Sorting Printing Styles That's about it for Outlines. They're really quite simple to use and they are a great aid to helping you organize your thoughts when you need to put together a quick outline. Once you have your outline together, you can more easily build individual documents from each outline section. Note! If you need to create a formal outline that includes special numbering, then you'd better stick with a regular document view and click Format/Bullets And Numbering and attempt to make sense out of Word's numbering flaws. Ahem, I mean feature! Sadly, numbering doesn't always work too well. If you need to use Word's numbering, I'd suggest you read this document from the Word MVP FAQ site: http://www.mvps.org/word/FAQs/Numbering/WordsNumberingExplained.htm And that's it for this lesson. I hope you learned something! In the next lesson, we'll discuss some of the time saving features in Word, such as Styles, Fields and auto features. Until next lesson... Copyright (c) 2002, Dian D. Chapman, MouseTrax Computing Solutions (www.mousetrax.com), Chicago, IL
|