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

 

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.

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

More Power! For some people, the prospect of creating macros can be scary. Those who conquer their fears, however, find they become much more confident and productive once they learn how to make Excel do exactly what they want. ExcelTips: The Macros is an invaluable source for learning Excel macros. You are introduced to the topic in bite-sized chunks, pulled from past issues of ExcelTips. Learn at your own pace, exactly the way you want.
 
Check out ExcelTips: The Macros today!