Often when you’re working on a document including one which contains code, or foreign language words you will want the document spell checked but you’d like the code or foreign language words omitted – so you’re not distracted by the red underlining everywhere.
To do this, in Word 2007, select the text you don’t want to be checked and double click the Language entry on the status bar – typically this will show English (United States) or similar. When the dialog appears, choose the Do not check spelling or grammar checkbox. This disables spell checking for this particular word or selection. The rest of the document is spell checked as usual but words you don’t want to be checked, won’t be.