Checkgrammar and checkspelling

Nio

New member
Joined
Apr 21, 2019
Messages
1
Programming Experience
Beginner
Greetings and all and Happy Easter. I would like help on using interop checkgrammar and checkspells on a Word document. I would like to activate the spelling and grammar check without opening the dialog and setting how to ignore all suggestions. I have no idea how to do it. Can anyone suggest code to me? In particular I don't know how to set on "ignore everything" and prevent the dialog box on Word from opening. Thank you.
 

JohnH

VB.NET Forum Moderator
Staff member
Joined
Dec 17, 2005
Messages
15,471
Location
Norway
Programming Experience
10+
According to docs:
To recheck the spelling in a range or document, set the SpellingChecked property to False.
You can set NoProofing to True on a Range to ignore it from spelling. This can be done on whole document Content or just the ranges in current SpellingErrors.
 
Top Bottom