* Create a Word document object loWord=CreateObject('Word.Application') loDocument=loWord.Documents.Add loWord.Visible=.T. * Position Word off screen to avoid having document visible loWord.WindowState=0 loWord.Top=-3000 * Assign the text to the document and check spelling loDocument.Content.Text='The long bridge faiiled in the middle.' loDocument.Activate lnCount=loDocument.SpellingErrors.Count IF lnCount>0 loErrors=loDocument.SpellingErrors FOR EACH loError IN loErrors MESSAGEBOX(loError.Text) ENDFOR ENDIF * Close the document and exit Word... loDocument.Close(0) loWord.Quit