

If you assign this macro to a shortcut key (as described in other issues of WordTips), then you can increase the width of the current table column by one point (1/72 of an inch) each time you press the shortcut key.

The following macro can do just that:ĬurrentSize = Selection.Tables(1).Columns(CurCol).Width

Perhaps the best solution is to make your own emulation of the WordPerfect capability. Adjust cells to fit the text with AutoFit To adjust a column, select it, and then select Layout > AutoFit > AutoFit Contents. Note: In Excel, select Home > Format, and then select Row Height. (It is also not terribly helpful for those who may not have very good mouse resolution, or who cannot move the mouse very small distances.) To make all the columns in the table the same height, select Layout > Distribute Columns. Very cool, but still a pain for those who would rather just use the keyboard. The Ruler changes to show the precise width of your columns as you move the border. If you don't mind using the mouse, you can hold down the Alt key as you drag a column border. The problem with this, of course, is that it is not anywhere near easy (or intuitive). There are workarounds for instance, you can use the keyboard to type Alt+A, R, U, and then press Tab a couple of times to get to the column width field. Word, on the other hand, has always been more mouse oriented and has no equivalent keyboard command for this task. WordPerfect, which has always been a "keyboard oriented" program, makes the adjustments easy: just press > or < to widen or narrow the column. Sometimes the transition is not entirely smooth, in large part because tasks aren't accomplished the same way in Word as they are in WordPerfect.Ī case in point is adjusting the width of table columns by using the keyboard. Use table-auto to allow the table to automatically size columns to fit the contents of the cell. To adjust column width automatically, click AutoFit Contents.
#Adjust table columns to fit text word how to
There are nine alignment options, letting you align the content to either side of a cell, any corner, or center it in the middle of the cell.Many people who are familiar with WordPerfect later find the need to learn how to use Word. On the Layout tab, in the Cell Size group, click AutoFit.