tags:

views:

130

answers:

1

Do you know how to insert a "code block" in a Microsoft Word 2007 document so it will not be analyzed by the grammar checker? I do no want to turn it off for the whole documents, just for some sections.

Can I do this via a custom style?

+3  A: 
  1. Select the text that you want the spelling and grammar checker to ignore.

  2. On the Review tab, in the Proofing group, click Set Language.

  3. Select the Do not check spelling or grammar check box.

You can also create a special style that is based on the selected text:

  1. Right-click the selection, and then click Save Selection as a New Quick Style on the Styles shortcut menu.

  2. Give the style a name — for example, code — and then click OK.

Nescio