Excel.Tips.Net Welcome toExcel.Tips.Net

Helpful Links

Tips.Net Home
ExcelTips Home
Ask an Excel Question
Make a Comment

Tips.Net Store

ExcelTips FAQ
ExcelTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

Newest Tips

Recording a Macro

Adding a Little Animation to Your Life

Converting a Range of URLs to Hyperlinks

Making the Formula Bar Persistent

Engineering Calculations

Digital Signatures for Macros

Fixing the Decimal Point

 

Using the Keyboard to Select and Resize a Chart Object

Summary: When working with charts and chart objects, Excel is very dependent on the mouse. If you don't want to use the mouse, but instead want to use the keyboard, the techniques to apply are not immediately evident. This tip explains how to select and resize a chart object in a worksheet, using nothing but the keyboard. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, and Excel 2003.)

Charts can be included in a workbook in one of two ways: as chart sheets or as chart objects. A chart sheet means that the chart takes up its own sheet in the workbook. A chart object appears as an object in a regular worksheet.

If you like to use the keyboard in preference to the mouse, you may wonder how you can select and resize a chart object. There are a couple of ways to approach the problem. The first method is rather, shall we say, messy--it involves quite a few steps. These will work in Excel 97 or Excel 2000:

  1. Make sure the Drawing toolbar is displayed.
  2. Press F10 or the Alt key to activate the menu bar. (The File menu will be selected.)
  3. Repeatedly press Ctrl+Tab or Ctrl+Shift+Tab (as necessary) until the Drawing toolbar is selected.
  4. Repeatedly press the arrow keys until the Select Objects tool (the one that looks like a mouse pointer) is selected.
  5. Press Enter. The Select Objects tool is now activated.
  6. Repeatedly press Tab or Shift+Tab (as necessary) until handles appear around the chart object.
  7. Press Alt+O to display the Format menu.
  8. Use the arrow keys to select the Object option from the menu and press Enter. Excel displays the Format Object dialog box.
  9. Use the Tab key and arrow keys to adjust the various size options in the dialog box.
  10. Press Enter to accept your changes and close the dialog box.
  11. Press Esc to de-activate the Select Objects tool on the Drawing toolbar and return to the worksheet.

If you are using Excel 2002 or a later version, following the above steps will cause Excel to crash. (At least, it did on my system.) This is very interesting; the crash occurs every time at step 6. If you are using Excel 2002 or a later version, you should follow these steps, instead:

  1. Make sure the Drawing toolbar is displayed.
  2. Press F10 or the Alt key to activate the menu bar. (The File menu will be selected.)
  3. Repeatedly press Ctrl+Tab or Ctrl+Shift+Tab (as necessary) until the Drawing toolbar is selected.
  4. Repeatedly press the arrow keys until the Select Objects tool (the one that looks like a mouse pointer) is selected.
  5. Press Ctrl+Enter. Excel selects the first object in the worksheet, which in all likelihood is your chart object.
  6. Press Alt+O to display the Format menu.
  7. Use the arrow keys to select the Object option from the menu and press Enter. Excel displays the Format Object dialog box.
  8. Use the Tab key and arrow keys to adjust the various size options in the dialog box.
  9. Press Enter to accept your changes and close the dialog box.
  10. Press Esc to de-activate the Select Objects tool on the Drawing toolbar and return to the worksheet.

Obviously, using the mouse to resize a chart object would be much easier. If you need to use the keyboard extensively to duplicate what is normally done with the mouse, you might consider using the Mouse Keys accessibility feature of Windows. Exactly how you use this feature is beyond the scope of ExcelTips, but it allows you to regain much of the convenience of the mouse by simply using the keyboard. You can install this feature by checking out the Accessibility applet in the Control Panel.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (2837) applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003

Change Formatting Based On Your Data! Conditional formatting provides a way for you to adjust the appearance of your data based on the data itself. Discover how to put this amazingly powerful feature to work for you, today. This comprehensive volume is available in two editions.
 
Check out Excel Conditional Formatting today!