bottom
Great ExcelTips!
         
Your e-mail address is safe!
Close Note

Tips.Net > ExcelTips Home > Shortcut Keys > Defining Shortcut Keys for Symbols

Defining Shortcut Keys for Symbols

Summary: When you use the Insert Symbol dialog box, you can insert any character or symbol it is possible to access in Excel. If you need to frequently insert a symbol, it can be a bother to always display the dialog box, however. This tip discusses some of the ways you can make inserting your symbols faster. (This tip works with Microsoft Excel 97, Excel 2000, Excel 2002, Excel 2003, and Excel 2007.)

John uses Excel to keep a maintenance log. He frequently needs to add a symbol from the Insert Symbol dialog box. He'd like to assign the symbol to a shortcut key (it doesn't have one already), but cannot find a way to do it.

Some symbols have obvious shortcut keys, defined by the folks in Redmond. One of the lesser-known facts is that every symbol has a "shortcut" key, but using that shortcut may not seem that short. How does this work? By holding down the Alt key as you type the ASCII or ANSI code for the symbol.

For instance, let's say you want to enter the cents symbol. If you display the Insert Symbol dialog box and select the cents symbol, at the bottom right of the dialog box you can see the character code for the symbol (it is 00A2). This is a hexadecimal number; you need to convert it to regular decimal notation. You can do this by using the formula =HEX2DEC("00A2"), which returns the value 162. If you remember this code, you can hold down the Alt key as you type the code, with a leading zero, on the numeric keypad.

This approach works great if you only need to input a few symbols on a regular basis; it doesn't take much work to remember those few codes you need. However, if you have a lot of symbols you need to work with, then remembering codes becomes more problematic. You could develop your own printed "cheat sheet" for the symbols so that you can refer to it all the time, or you could rely on Excel's AutoCorrect feature to do the remembering for you. Follow these steps:

  1. Use the Insert Symbol dialog box to insert the symbol into a cell.
  2. Select the cell that contains the symbol.
  3. Press F2 to start editing the cell.
  4. Select the symbol, and only the symbol.
  5. Press Ctrl+C to copy the symbol to the Clipboard.
  6. Choose AutoCorrect Options from the Tools menu. (If you are using Excel 2007, click the Office button and then Excel Options. Click Proofing at the left of the dialog box, then click AutoCorrect Options.) Excel displays the AutoCorrect Options dialog box. (Click here to see a related figure.)
  7. In the Replace field, type a short mnemonic for the symbol. This should be a series of letters that are not a real word, such as hrt, which might be the mnemonic for a heart symbol.
  8. In the With field press Ctrl+V to paste the symbol from the Clipboard.
  9. Make sure the Formatted Text radio button is selected.
  10. Click OK.

Now you can just type the mnemonic when you want the symbol to appear. When you type the space bar after the mnemonic, AutoCorrect kicks in and replaces it with the symbol.

If you prefer, you can install a third-party software solution to handle the shortcuts for you. For instance, you could use AllChars (http://allchars.zwolnet.com), a free, open-source solution that works with most versions of Windows.

Tip #3221 applies to Microsoft Excel versions: 97 | 2000 | 2002 | 2003 | 2007


Save Time! ExcelTips has been published weekly since late 1998. Past issues of ExcelTips are available in convenient ExcelTips archives. Have your own enhanced archive of ExcelTips at your fingertips, available to use at any time!
 
Check out ExcelTips Archives today!

Helpful Links

Ask an Excel Question
Make a Comment

Tips.Net Home
Vital News Home

ExcelTips FAQ
ExcelTips Premium

Learn Access Now

Beauty Tips
Bugs and Pests Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Money Tips
Organizing Tips
Pet Tips
Word2007 Tips
WordTips

Advertise on the
ExcelTips Site

 

Great Info!

Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your e-mail address and click "Subscribe."
     
(Your e-mail address will never be shared with anyone, ever.)