Please Note: This article is written for users of the following Microsoft Excel versions: 2007, 2010, 2013, and 2016. If you are using an earlier version (Excel 2003 or earlier), this tip may not work for you. For a version of this tip written specifically for earlier versions of Excel, click here: Setting Cell Width and Height Using the Keyboard.

Setting Cell Width and Height Using the Keyboard

by Allen Wyatt
(last updated October 15, 2016)

2

Sawan wonders if there is a way to adjust the height and width of a cell by using the keyboard, without using the mouse. (Some people are really averse to using the mouse.) The answer is yes, there is a way. The problem, however, is that it isn't a terribly intuitive way.

Here's how you set the row height:

  1. Press Alt. This kicks Excel into a "shortcut key mode" and you should see the shortcut keys appear above each tab of the ribbon.
  2. Press H to indicate you want to use the Home tab. New shortcut keys appear above each tool in the tab.
  3. Press O to indicate you want to use the Format tool in the Cells group. Excel displays a drop-down list of options.
  4. Press H to choose the Row Height option. Excel displays the Row Height dialog box.
  5. Type the value you want for the row height.
  6. Press Enter.

The only difference in these steps when you want to specify the column width is that you should press W in step 4.

Here's a different method of changing the row height:

  1. Press Shift+Spacebar. Excel selects the entire row.
  2. Press Shift+F10 to display a Context menu. (This is the same menu you see if you were to right-click on the selection.)
  3. Press R to indicate you want to change the row height. Excel displays the Row Height dialog box.
  4. Type the value you want for the row height.
  5. Press Enter.

A similar sequence will work for setting the column width:

  1. Press Ctrl+Spacebar. Excel selects the entire column.
  2. Press Shift+F10 to display a Context menu. (This is the same menu you see if you were to right-click on the selection.)
  3. Press C twice to choose the second "C" command in the Context menu (Column Width).
  4. Press Enter. Excel displays the Column Width dialog box.
  5. Type the value you want for the column width.
  6. Press Enter.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (6242) applies to Microsoft Excel 2007, 2010, 2013, and 2016. You can find a version of this tip for the older menu interface of Excel here: Setting Cell Width and Height Using the Keyboard.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Periodically Delete TMP Files

After using Word for a while, you may notice some "litter" of unused files on your hard drive. This tip explains how ...

Discover More

Identifying the Last Cell Changed in a Worksheet

When someone changes a cell in a worksheet, Excel normally goes along its merry way of keeping everything up to date. It ...

Discover More

Aligning Decimal Numbers in Tables

Need to align numbers around their decimal point within a table? It's easy to do by using the three simple steps provided ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

Changing Currency Formatting for a Single Workbook

Currency is formatted differently in different corners of the world. Most formatting uses periods and commas to indicate ...

Discover More

Preventing Changes to Formatting and Page Size

When you create workbooks for others to use, you might want to make sure that they can't change the formatting and paper ...

Discover More

Deleting Unwanted Styles

Custom styles can be a great help in formatting a worksheet. You may, at some point, want to get rid of all the custom ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Maximum image size is 6Mpixels. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is 8 + 1?

2016-10-21 18:56:39

Michael Helme

Why not set up Row Height and Column Width on the Quick Access Toolbar for this task? Then the keystrokes are more concise.


2016-10-17 10:39:41

NW

If you're old-school like me, you can use "alt o c w" (alt fOrmat Column Width) for column width & "alt o r e" (alt fOrmat Row hEight) for row height.


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.