When you are automating something in Word using VBA, the below message can be a nemesis. This message will wait for user input whereas you would have though the program will continue without user intervention.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiC7S0Nat1oG34HQ3hMyjUDYAkTraDowZ5xlkKI7ZfLaDt96SIC-Mnxhb_76AXX0LB5L0vPaFqjQwDLXavyYcn8ov_S9s0odKoBMEQyTUw248KU260lAqtOjDFA7XZlXWS33Cvm/s280/dnd_WordError.JPG)
To stop this message set the Grammar checked to be true
Sub Set_Spell_Grammar()
ActiveDocument.GrammarChecked = True
ActiveDocument.SpellingChecked = True
End Sub