Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Is there a way to ignore spelling and grammar for certain text styles in Word 2007?

Some of the stuff I'm writing is pre-formatted text that looks like this and usually has stuff like if (str.length() != 3) which will give me the squiggly lines on misspelled words like the str in there.

share|improve this question
add comment

1 Answer

up vote 9 down vote accepted

Quick Styles will help you here.

First, select the text for which you want to ignore spelling in your document. Right click and select Styles > Save selection as a new Quick Style. Then click on Modify and a new window will open named "Create new style from Formatting". Set your font type, font size etc. and then click on the Format button which stands on the lower left corner of the window. Select Language option and check "Do not check spelling or grammar" option. Click OK, and OK again. Now you have a style which wil not check spelling or grammar for the font style you determined.

share|improve this answer
    
Perfect, thanks. –  Nitrodist Jun 2 '10 at 14:08
    
You're welcome. –  Mehper C. Palavuzlar Jun 2 '10 at 14:11
2  
I had to close open to remove the underlining. Still works a treat. –  Tyronomo Aug 30 '13 at 6:30
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.