Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-08-2019, 05:01 AM
gmayor's Avatar
gmayor gmayor is offline How can you run spell check on a protected document Windows 10 How can you run spell check on a protected document Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,144
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default


Right click the status bar and add Language. You can then check the language and the proofing for any selected text.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
  #2  
Old 07-09-2019, 05:10 PM
dpaton05 dpaton05 is offline How can you run spell check on a protected document Windows 10 How can you run spell check on a protected document Office 2016
Novice
How can you run spell check on a protected document
 
Join Date: Jul 2019
Posts: 19
dpaton05 is on a distinguished road
Default

I couldn't get it working with your code but I got it working with this code,


Code:
Private Sub CommandButton3_Click()
    ActiveDocument.Unprotect
    ActiveDocument.CheckSpelling
    ActiveDocument.CheckGrammar
        ActiveDocument.Protect _
            Type:=wdAllowOnlyFormFields, _
            NoReset:=True, _
            Password:=""
    
End Sub

The only problem is that if you press cancel on the spell checker I get an error message saying "The ToolsProtectDocument is currently disabled".
Reply With Quote
  #3  
Old 07-09-2019, 05:56 PM
dpaton05 dpaton05 is offline How can you run spell check on a protected document Windows 10 How can you run spell check on a protected document Office 2016
Novice
How can you run spell check on a protected document
 
Join Date: Jul 2019
Posts: 19
dpaton05 is on a distinguished road
Default

...........
Reply With Quote
  #4  
Old 07-09-2019, 06:21 PM
dpaton05 dpaton05 is offline How can you run spell check on a protected document Windows 10 How can you run spell check on a protected document Office 2016
Novice
How can you run spell check on a protected document
 
Join Date: Jul 2019
Posts: 19
dpaton05 is on a distinguished road
Default

I know that with content controls, the spelling is underlined if there is an error but I still want the spell check to run.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
How can you run spell check on a protected document Spell Check stopped in middle of document bsuedmeyer Word 6 03-20-2016 10:06 AM
How can you run spell check on a protected document Spell Check is marking ALL words copied from downloaded document as mispelled silveringofrose Word 8 03-13-2016 09:23 AM
Protected Document (Form) that allows Spell Check beve56 Word 3 03-21-2014 06:15 PM
Spell check checking only part of document Adeyo Word 1 02-24-2013 10:49 PM
How can you run spell check on a protected document Spell check not working correctly in table of form document troybuell Word 1 07-23-2012 12:08 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:19 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft