Results 1 to 3 of 3

Thread: Check Spell check is complete using word

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    5

    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............

  2. #2
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: Check Spell check is complete using word

    Code:
    ActiveDocument.SpellingChecked
    That property on your document (not the active one )

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2005
    Posts
    5

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width