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

Creating an AutoText Reference List

Need a fast, easy way to come up with a list of all the AutoText entries that you've defined? This tip presents two ways to ...

Discover More

Getting Rid of Blank Labels in a Filtered Merge

If you are filtering a mail merge in Excel, and you get blank labels in the printout in Word, chances are good that something ...

Discover More

Accessing Paragraphs in a Macro

Need to process a document, paragraph by paragraph, in a macro? It's easy to do once you understand that Word's object model ...

Discover More

Program Successfully in Excel! John Walkenbach's name is synonymous with excellence in deciphering complex technical topics. With this comprehensive guide, "Mr. Spreadsheet" shows how to maximize your Excel experience using professional spreadsheet application development tips from his own personal bookshelf. Check out Excel 2013 Power Programming with VBA today!

More ExcelTips (ribbon)

Changing Character Spacing

Excel allows you to adjust spacing between cell walls and the contents of those cells. It does not, however, allow you to ...

Discover More

Hash Marks Displayed Instead of Cell Contents

Have you ever entered information in a cell only for it to appear as hash marks? This tip explains why this happens, how you ...

Discover More

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
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 four less than 9?

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.