79515034

Date: 2025-03-17 15:41:42
Score: 0.5
Natty:
Report link

I've always used -1 to be true in VSTO and in a few places it seems to matter compared to using 1 for true.

I needed to disable spell check on all endnotes. The answer of using NoProofing worked, but I later found an easier way to change the "Endnote Text" style to add NoProofing as -1.

In my code this is:

wordDocument.Styles[Word.WdBuiltinStyle.wdStyleEndnoteText].NoProofing = -1;

This can be done with other styles as well.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Herb F