Have a protected word document - and there is a spell check document in button format..Using MS office 2007

Posted on 2011-04-25
Last Modified: 2016-02-17
Using MS office 2007

Have a protected word document - and there is a spell check document in button format..
When I protect the document, the spell check document is working on my machine but is seen as disabled and does not do anything in others machines.

How to rectify this or is there anyother approach for the spell check feature to work.
Question by:Jsara
    LVL 22

    Accepted Solution

    Spell check normally disables if you have protected against all changes. If you are prtecting for revisions, then spell check isavailable. How is your document set up?

    Author Comment

    I forgot to mention, it is a protected document with form areas where users can enter/type text into it.
    So if users enter the text in those areas they should be able to spell check.
    LVL 76

    Expert Comment

    By Microsoft design, spell check does not work on a protected document, even in the editable fields. It is possible to write a macro to remove protection, do the spell check, and report to the current editor, but it would be difficult to keep it rigorous. Would that be acceptable?

    Author Comment

    Let me explain what I did until now, I already have a macro with the below code.
    what should be done next.

    ' If document is protected, Unprotect it.
       If ActiveDocument.ProtectionType <> wdNoProtection Then
          ActiveDocument.Unprotect Password:="************"
       End If

       ' Set the language for the document.
       Selection.LanguageID = wdEnglishUS
       Selection.NoProofing = False

       ' Perform Spelling/Grammar check.
       If Options.CheckGrammarWithSpelling = True Then
       End If

       ' ReProtect the document.
       If ActiveDocument.ProtectionType = wdNoProtection Then
          ActiveDocument.Protect Type:=wdAllowOnlyFormFields, _
       End If
    LVL 13

    Expert Comment

    I've requested that this question be closed as follows:

    Accepted answer: 0 points for Jsara's comment #a35466952
    Assisted answer: 500 points for GrahamSkan's comment #a35462716

    for the following reason:

    This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
    LVL 22

    Expert Comment

    by:Brian B (TBone2K)
    I was the first person to tell the author (Jsara) that spell check dos not work in a protected document. I don't think the author's second comment really contributed to the solution.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    A few years ago I was very much a beginner at VBA, and that very much remains the case today.  I'll do my best to explain things as I go in the hope that other beginners can follow.  If you just want to check out a tool that creates a Select Case fu…
    This is written from a 'VBA for MS Word' perspective, but I am sure it applies to most other MS Office components where VBA is used.  One thing that really bugs me is slow code, ESPECIALLY when it's mine!  In programming there are so many ways to…
    Learn how to create and modify your own paragraph styles in Microsoft Word. This can be helpful when wanting to make consistently referenced styles throughout a document or template.
    This Micro Tutorial well show you how to find and replace special characters in Microsoft Word. This is similar to carriage returns to convert columns of values from Microsoft Excel into comma separated lists.

    745 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now