Check Spell check is complete using word
I am using word's checkspell. I want to check whether the user has checked the whole document. If the user click's on the cancel or close's the spell check dialog then the application should notify the user that spell check is not complete... How can i track the spell check is complete or it has been interupted............ :afrog:
Re: Check Spell check is complete using word
Code:
ActiveDocument.SpellingChecked
That property on your document (not the active one :) )
Re: Check Spell check is complete using word
Hi Ecniv,
It's not working..... actually i want to check whether the user has checked the whole document..... below is the code i wrote.... but it's not working..
Set oWord = CreateObject("Word.Application")
oWord.Documents.Open ("c:\abc.txt")
oWord.ActiveDocument.CheckSpelling
returnValue = oWord.ActiveDocument.SpellingChecked
If (returnValue = False) Then
MsgBox "Spell check Incomplete"
end if