COLUMNS

TABLES

Choose Whether to Draw Tables or Just Insert Them

The Annoyance:

What's the point of the Tables and Borders toolbar? All it does is complicate the process of creating tables, which I've been doing just fine using the Insert Table dialog box for 10 years now. I started back with Word 2, whenever that was.

The Fix:

If you can create the effects you need using the Insert Table dialog box, don't bother with the Tables and Borders toolbar.

How useful the Tables and Borders toolbar is to you will probably depend on the types of tables you create. If all you need are straightforward tables with the same number of cells in each column, simply use the Insert Table dialog box (Table Insert Table) to create your tables. But if you need to create complex tables that use cells with different widths or heights, drawing may be a better option. Start by drawing the outline of the table so that it occupies the amount of space you want to devote to it, and then draw the internal lines to create the columns , rows, and cells.

Another approach to creating a "complex" table is to insert a standard table, click the Eraser button on the Tables and Borders toolbar, and then knock out individual borders to create differently sized cells.

Prevent Word from Resizing a Table

The Annoyance:

I can't stand the "artificial intelligence" built into Word's table feature. You can define how wide the table and/or each column should be in the Table Properties dialog box, but Word then changes the widths according to the text put in the cells.

PRODUCING COLUMNS OF DATA IN WORD

Word offers three ways to lay out material in columns:

  • You can use tabs to create columns. This works okay for short items, particularly those that require decimal tabs (see "Align Numbers with Decimal Tabs" in Chapter 4).

  • You can use Word's columns (Format Columns) to create snaking, "newspaper-style columns. See "Create Newspaper-Style Columns" at the end of this chapter for details.

  • You can use tables to create columns of cells. Tables work especially well for longer items that wrap from one line to the next , but they're also good for short items. You can easily create running headers for multipage tables (see "Repeat a Header Row," later in this chapter).


The Fix:

Word always wants to help as much as it can, and resizing columns automatically to fit their contents must have seemed like a good idea. Unfortunately, AutoFit tends to give people fits automatically.

To prevent Word from resizing the columns, insert a table by using the Insert Table dialog box (see Figure 7-1) rather than by clicking the Insert Table button on the Standard toolbar and "painting" out a table grid. Choose Table Insert Table or click the Insert Table button on the Tables and Borders toolbar. Specify the number of columns and rows, select the "Fixed column widths option, specify a width in the spinner box if you choose, and click the OK button.

If the table is already inserted in your document with AutoFit turned on:

  1. Right-click in the table, choose Table Properties, and click the Table tab if it's not already displayed.

  2. Click the Options button, uncheck the "Automatically resize to fit contents" box, and then click the OK button to close each dialog box (see Figure 7-2).

Figure 7-1. To prevent Word from resizing your table columns, select the "Fixed column width" option in the Insert Table dialog box.

Figure 7-2. You can also turn off AutoFit in an existing table.

Place a Table at the Top of a Page

The Annoyance:

I want to place a table at the top of a new page, but I don't want a paragraph mark to appear before it. Sometimes I can get this to work, but usually not.

The Fix:

Click in the first row of the table, choose Format Paragraph, click the Line and Page Breaks tab, and check the "Page break before box. Don't put a hard page break (Ctrl+Enter) before the table, or you'll get that unwanted paragraph mark.

Get a Table Away from the Start of a Document

The Annoyance:

I created a new document and began a table right at the top of the page, and now I can't shift it. There must be an obvious way of moving it, but I'm not seeing it.

The Fix:

Position the insertion point in the first row of the table and choose Table Split Table or press Ctrl+Shift+Enter. Alternatively, enter a few carriage returns after the table (by pressing the Enter key), click in the table and choose Table Select Table, and then drag the table down a paragraph or two.

Position a Table Correctly on a Page...

The Annoyance:

I'm struggling to get the tables in my document positioned just right on the page. I can drag the left and right borders to where I want them on the ruler, but I have to set the zoom level really high to get them exactly right. Too much coffee, and I tend to drag too far.

The Fix:

You can hold down Alt while resizing a column to display exact measurements in the ruler, but you'd probably be better off working in the Table Properties dialog box (see Figure 7-3). Right-click in the table and choose Table Properties from the shortcut menu to display the dialog box. Use the "Indent from left" spinner box on the Table tab to control how far from the left margin the table appears (set a negative indent if you want the table to start in the margin). Use the Alignment settings to specify the alignment for the table.

Figure 7-3. Use the Table Properties dialog box to set the indentation and alignment for a table.

...and Position the Table's Contents Correctly

The Annoyance:

Okay, the table is in place, and I've got most of the text in the cells. Now all I need to know is how to lay out that text properly.

The Fix:

The Table Properties dialog box is also the key to positioning the contents of the table accurately:

  • Right-click in the table and choose Table Properties from the shortcut menu to display the dialog box. Click the Table tab, click the Options button, and specify the default cell margins and any default cell spacing in the Table Options dialog box (see Figure 7-4, top).

  • To override those default settings in a cell, select the cell, click the Cell tab of the Table Properties dialog box, click the Options button, and work in the Cell Options dialog box (see Figure 7-4, bottom). You can also turn off text wrapping from here, on those rare occasions when you want to prevent the text from wrapping within a cell.

    Figure 7-4. The Table Options dialog box lets you set default top, bottom, left, and right cell margins. The Cell Options dialog box lets you override the cell margins for particular cells.

  • To change the vertical alignment of a cell, choose the appropriate "Vertical alignment" option on the Cell tab of the Table Properties dialog box.

  • Within the cell, you can apply many types of standard paragraph formatting by using the controls on the Formatting toolbar or in the Paragraph dialog box (Format Paragraph). For example, you can change the horizontal alignment, the indentation, and the line spacing.

Make a Table the Full Width of the Text

The Annoyance:

I'd like my table to take up the full text width of the page. But whenever I change the page margins, I need to change the width of the table manually to match.

The Fix:

Right-click the table, choose Table Properties, click the Table tab, check the "Preferred width" box, choose "Percent" in the "Measure in" drop-down list, and specify 100% in the middle drop-down list. Word will then change the table's width automatically when you change the margins of the page.

Restore the Cell Height and Width Dialog Box

The Annoyance:

I guess I'm still stuck in the Dark Ages of Word 97, because I miss the Cell Height and Width dialog box that you could use towellcontrol the height and width of a cell. It didn't offer all the fancy options of the Table Properties dialog box, but it was easy enough for me to understand.

The Fix:

You can still use the Cell Height and Width dialog box (see Figure 7-5) if you want. To pop it up just once for old times' sake and see if it matches up to your memories, choose Tools Macro Macros, type tableformatcell , and press Enter. To use it more frequently, choose Tools Customize, click the Commands tab, check that Normal.dot is selected in the "Save in" drop-down list, click All Commands in the Categories list, and drag the TableFormatCell item from the Commands list to your Table menu or other preferred location. After closing the Customize dialog box, Shift-click the File menu, choose Save All, and save the changes to Normal.dot if prompted.

Figure 7-5. Word 2000 and later versions suppress the Cell Height and Width dialog box, but dissenters like you can liberate it if you choose.

Repeat a Header Row

The Annoyance:

Today's report has an ugly six-page table in it. I'm cleaning it up, and every time I make an editeven applying or removing formattingthe rows bounce from one page to the next. That means the heading rows on the second and subsequent pages are now in the wrong place. I moved them back the first time I noticed it, but they keep jumping around. I guess I'd better leave 'em until I finish editing.

The Fix:

If they're moving around, they're not real heading rows: they're just normal rows formatted to look like heading rows. Word can automatically repeat one or more heading rows for you when the table goes to a second or subsequent page. Set up the row (or rows) on the first page, select it (or them), and choose Table Heading Rows Repeat. When rows walk from one page to another, Word keeps the header row or rows in the right place.

Delete a Table, Not Just Its Contents

The Annoyance:

Call me anal, but I hate inconsistency in the Windows interface. Over the last couple of months, I've grown used to selecting what I want to delete and then pressing the Delete key to off it. (Yes, I've offed the Recycle Bin already.) It works in Explorer, works in Excel, and works in Word...but not for tables. When I try to delete the selected part of a table, all Word does is delete the contents of the cells. Pavlov would be rolling in his kennel.

The Fix:

There's no real fix, but understanding the rationale for Word's behavior might help you feel better. Word's designers decided to draw a distinction between deleting all or part of a table's contents and all or part of its structure. So a standard Delete command deletes contents, while the easiest way to delete the table's structure (with any contents that remain ) is to select the appropriate part of the table and then press Backspace. You can also choose Table Delete and choose Table, Columns, Rows, or Cells (as appropriate) from the submenu.

Work Smart with Table Columns

The Annoyance:

Changing the width of one column affects all the other columns, too. Just when I get one column perfect, I need to change another column, and that screws up the perfect column. It'd be great to lock a column's width so it won't change unless I explicitly say so.

The Fix:

Your wish is grantedto some extent. Word tries to maintain the table width you specified, so if you drag one column border to widen or narrow a column, Word automatically adjusts the column to the right to compensate. To override this behavior, Shift-drag the column border. This makes Word maintain the width of the column to the right, but it means that your table's overall width will change.


Tip: To set column widths precisely, right-click in the first column, choose Table Properties, click the Column tab, and use the "Preferred width" spinner box to set the column width. Click the Next Column button to move to the next column and set its width.

Use Different Cell Widths in Different Rows

The Annoyance:

What I need is to be able to change the widths of the cells in one row without affecting all the other rows in the table. But there doesn't seem to be any way to do this other than merging cells, which isn't what I want to do.

The Fix:

You can do this with minimal effort. If you want the cell widths in each row to be different, create each set of rows as a separate table, and then join them. When you create separate tables, it's usually best to put one or more blank paragraphs between them to ensure that Word doesn't get confused and start treating them as a single table when you drag a column border in one table close to the column border in another table. When your tables are finished, delete the blank paragraphs to bring them together. Word then treats the tables as a single table.

If you need different cell widths in only one set of rows, create a separate table for the row or rows that you want to have different cell widths. Select that table (Table Select Table), right-click it, and choose Cut from the shortcut menu. Right-click the appropriate cell in the main table, and choose Paste Rows from the shortcut menu. Make sure that you dont choose Paste as Nested Table, unless you want to nest the rows in the cell.

Rearrange Table Columns

The Annoyance:

After struggling with this table for a couple of hours, I've realized that the second column should really be the first column. Please tell me I don't have to retype both columns!

The Fix:

It's okay, you needn't retype anything. You can move table columns either by dragging or by using Cut and Paste. Getting the hang of dragging columns can take a little practice, so if you have time, create a sample table in a new document and play around with moving the columns. The easiest way to select a column is to move the mouse pointer just above the topmost cell in the target column so that the pointer changes into a black arrow pointing downward, and then click; alternatively, you can click in the column and choose Table Select Column. Click anywhere in the selected column, and drag it to the column before which you want it to appear.

Convert Text to Tables

The Annoyance:

I get long membership listsdatabase dumpsthat I need to convert into Word tables. If they were separated with tabs, I could just use the Table Convert Text to Table command, but theyre separated with regular old spacesas many of them as are needed to line up the columns.

The Fix:

You can fix this easily. Choose Edit Replace and replace ^w (whitespace) with ^t (a tab). Select the list, choose Table Convert Text to Table, make sure the Tabs option is selected and that the "Number of columns box shows the right number of columns, and click the OK button to perform the conversion.

Print Table Gridlines

The Annoyance:

I can't print the gridlines in my table.

The Fix:

The table gridlines are there only for reference. They never print unless you apply borders. If you don't need to see the gridlines on screen, choose Table Hide Gridlines to remove them from the display and help eliminate any confusion.

If you want to print gridlines, add borders to the table. Right-click in the table, choose Borders and Shading from the shortcut menu, select the borders you want on the Borders tab (see Figure 7-6), and click the OK button. The key control here is the "Apply to" drop-down list, which lets you specify whether to apply the current border to the entire table, the current cell or selected cells, or the current paragraph.

Figure 7-6. Use the Borders and Shading dialog box to add a border to any gridlines that you want to print.

Get Rid of Table Gridlines

The Annoyance:

I chose Table Hide Gridlines, but theyre still hanging aroundeven through the Table menu now has the Show Gridlines command instead.

The Fix:

Here's another reason why Microsoft isn't renowned for its design brilliance. What you're seeing are actually the text boundaries for the table. You're seeing boundaries for the page's margins as well, aren't you? Choose Tools Options, click the View tab, and uncheck the "Text boundaries box. That'll do the trick.

Make All Your Table Borders Print

The Annoyance:

The right and bottom borders of my table don't print, even through the other borders print okay.

The Fix:

It sounds as though you've placed the right and bottom borders outside the printable area for your printer. Most printers can print up to 0.2" or 0.4" from the edge of the paper, but some need wider margins. Try bringing the table borders back into the land of the living.

Wrap Text Around a Table

The Annoyance:

I need to use a table like a graphic. Can I put it behind the text in my document?

The Fix:

No, but you can make the text wrap around it. Right-click the table, choose Table Properties, and click the Table tab. Choose the appropriate alignment optionLeft, Center, or Rightand then click the Around option in the "Text wrapping" area. Click the Positioning button to display the Table Positioning dialog box (see Figure 7-7), which offers options similar to those for positioning pictures (see "Position the Graphic Relative to the Page" in Chapter 4).

Figure 7-7. When you wrap text around a table, use the Table Positioning dialog box to position the table precisely where you want it.

Create Formulas in Tables

The Annoyance:

I know how to embed an Excel spreadsheet in a Word document, but that seems like overkill when all I need is a simple formula to sum the contents of a column in a table.

The Fix:

What you can do is create a table formula in Word. Table formulas aren't very powerful (especially if you're used to Excel's capabilities), but they're powerful enough to prove handy in a pinch . Position the insertion point in the appropriate cell, choose Table Formula, and then choose the formula, number format, and any other options in the Formula dialog box (see Figure 7-8).

Figure 7-8. Simple formulas in Word's tables can save you from having to embed spreadsheet fragments in your documents.

The formulas you're most likely to want are =SUM(LEFT) , which adds the cells to the left of the active cell, and =SUM(ABOVE) , which adds the cells above the active cell. You can also use =SUM(RIGHT) and =SUM(BELOW) if needed, or create custom formulas by referring to specific cells in "row, column" format (for example, R1C2 refers to row 1, column 2) or by assigning bookmarks to cells and referring to those.

Each formula is a field, so it appears within the braces that Word uses to denote fieldsfor example, { =SUM(BELOW) } . Word inserts these braces, so you don't need to type them manually when using the Formula dialog box. You can also insert a formula quickly by pressing Ctrl+F9 to insert the braces and then typing the formula between them. Don't try typing the braces; that doesn't work, because they're special field braces rather than simply {} characters .


Warning: Check your table formulas to ensure that they're producing suitable results. Empty cells, or cells that contain text rather than numerical values, can confuse table formulas.

Speed Up Word's Handling of Tables

The Annoyance:

Tables in Word XP are slooooow! I don't remember this problem in Word 97even before I upgraded from my ancient 486. What's the problem?

The Fix:

Well, it's pretty much as you say: tables in Word XP (not to mention Word 2000 and 2003) are slower to load and redraw than tables in Word 97 and previous versions of Word. This is because the later versions of Word have to be able to create HTML tables, so they use a different (and slower) table engine. Nested tables slow things down even more, simply because they're more complex.

To minimize this annoyance, try the following:

  • Turn off automatic cell resizing if you've left it on for any table. Right-click the table, choose Table Properties, click the Options button, and uncheck the "Automatically resize to fit contents" box.

  • Keep tables short, if possible. If you have the choice of creating 10 short tables or a monster table with 10 subheadings, go for the 10 short tables. Eliminate merged cells if possible; they're useful for subheadings , but they slow down Word's handling of tables.

  • When editing tables for content rather than layout, work in Normal view rather than in Print Layout view or Print Preview. Also try turning off background repagination: choose Tools Options, click the General tab, and uncheck the "Background repagination box.

  • Keep rows shallow if possible. Instead of putting a dozen paragraphs in a row, create a dozen rows. Use borders to differentiate them.

  • Keep your tables as simple as possible. Don't wrap text around tables unless you mustand if you must, do so when you've finished creating and editing the tables. Use as few graphics as possible in your tables, and when you do, put the graphics inline rather than having them float.

Avoid Vertically Merged Cells in Word 2000

The Annoyance:

Our catalog is in an absurdly big table. It lists hundreds of parts , most of which have subcomponents. Each part takes up a row, and if there are subcomponents, the part is in a vertically merged cell, so that all the subcomponents are "under" it. Anyway, all was well until I was putting the finishing touches on the catalog. Then Word 2000 locked up, " experienced an error," and exploded the catalog into virtual shrapnel.

The Fix:

I'm guessing you touched on a sensitive nerve in Word 2000's handling of tables that have vertically merged cells (two or more cells in the same column merged together vertically) spanning two or more pages. Such cells make tables a minefield that you can set off by doing something as innocuous as moving from page to page in Print Layout view.

The fix is to update to the latest Office 2000 Service Pack you can find, or to update to a later version of Office.



Word Annoyances
Word Annoyances: How to Fix the Most ANNOYING Things about Your Favorite Word Processor
ISBN: 0596009542
EAN: 2147483647
Year: 2003
Pages: 91

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net