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

Putting Headers and Footers On Multiple Worksheets

You can easily create headers and footers for multiple worksheets by working with a selection set of the worksheets you want ...

Discover More

Converting to Automatic Endnotes

When you add endnotes to a document, they are automatically maintained and renumbered by Word, as necessary. If you get a ...

Discover More

Determining an ANSI Value

You may need to determine the numeric value of a character in a macro. You can do that using the Asc function, described in ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (ribbon)

Getting Rid of Negative Zero Amounts

Have you ever seen a worksheet in which some zero values have a negative sign in front of them? There's a reason for this, as ...

Discover More

Shortcut Key for Format Painter

The Format Painter is great for copying formatting from one cell to another. If you don't want to grab the mouse to use the ...

Discover More

Moving Custom Formats to Number Formatting Categories

Moving your custom formats into a formatting category other than "custom" isn't something you can do in Excel. Here's ...

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. 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 6 - 0?

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.