none
Failed to use a macro to run Spelling Checker. RRS feed

  • Question

  • Hi

    I tried to implement a macro erasing the list of words that were missed during previous spelling reviews, and then start a new review of the current document.

    For this generates the following macro, according to the help of Word 2007:

    Application.ResetIgnoreAll
    ActiveDocument.SpellingChecked = False
    ActiveDocument.CheckSpelling

    However, when you run the macro does not check this previously ignored words.

    The computer works with Windows 7
    x64

    Monday, May 23, 2011 3:33 PM

Answers

  • This is clearly a bug. To work around it, you would have to save, close, and reopen the document using VBA.
    Stefan Blom, Microsoft Word MVP
    • Marked as answer by Pablo Hurtado Wednesday, August 29, 2012 6:08 AM
    Monday, May 30, 2011 5:11 PM

All replies

  • I can reproduce what you are seeing. I am not aware of a fix, unfortunately.
     

    Stefan Blom, Microsoft Word MVP
    Monday, May 23, 2011 6:27 PM
  • It appears the only automated workaround is to close and reopen the document. Once the Ignore All has been chosen, the VBA command to ResetIgnoreAll does not work.

    Going to Word > Options  > Proofing and manually chosing the Recheck option from there does work. So there must be some other setting that's getting cleared.


    Wag and they wag with you, Howl and they put you outside. http://greatcirclelearning.com
    Tuesday, May 24, 2011 3:57 AM
  • Hi Pablo,

    How about the issue on your side now?


    Best Regards, Calvin Gao [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Thursday, May 26, 2011 12:40 PM
    Moderator
  • Thanks

    I have not yet succeeded in finding the solution to the problem.
    Monday, May 30, 2011 2:35 PM
  • This is clearly a bug. To work around it, you would have to save, close, and reopen the document using VBA.
    Stefan Blom, Microsoft Word MVP
    • Marked as answer by Pablo Hurtado Wednesday, August 29, 2012 6:08 AM
    Monday, May 30, 2011 5:11 PM