Spelling based on syle

A

Aleko

Say I want to include some programming code in my document, and I've
defined a new style for it. The syle uses a monospaced font, and a
coloured background. Is it possible to turn off spelling & grammar for
that specific style?

Thanks,
Aleko
 
A

aleko.petkov

Never mind, I figured it out. If anyone else is interested, this is how
to do it:

1. Open the Styles & Formatting dialog
2. Right-click on the style for which you want to turn off spelling,
and click Modify...
3. Click the Format button, and select Language
4. Check the 'Do not check spelling or grammar' checkbox

Note: This applies to Word 2003. It may work for other versions, but I
haven't tried it.

Aleko
 
Top