Use Automatic Formatting as You Type
Source: Microsoft Tips
By selecting certain automatic formatting options, the 2007 Microsoft Office system programs can automatically format certain kinds of text as one type, such as automatically replacing a typed hyphen (-) with a dash (-). Use the AutoFormat As one Type options to control the automatic formatting that one wants. The specific AutoFormat As one Type options that are available depend on the program that one is using.