View Single Post
  #1   Report Post  
PromisedOyster
 
Posts: n/a
Default Spell check and mergefields

Hi

I am using Word Automation to generate documents.

As has been discussed in previous posts, by default, the mergefield
text has spelling disabled.

I get around this problem, by doing the following:

_wordApp.Selection.WholeStory();
_wordApp.Selection.NoProofing = 0;
_wordApp.CheckLanguage = false;

The documents that are generated get automatically saved. However, when
they gets reopened, the incorrect spelling is not underlined in red.

I dont want the spell dialog to appear as part of the creation or on
the subsequent opening, I just want to words that are not correctly
spelt to be red underlined.

Can this be done?