Checkspelling on Field Range - Word VBA
问题 I have a protected document which I am able to run the following line, but unable to actually run "spellcheck" on the text and think it's due to my range declaration, can somebody point out whats wrong? Eg: This returns TRUE/FALSE correctly If CheckSpelling(theFields.Result.Text) = False Then but I can't then run theFields.CheckSpelling What I have tried: Sub SpellCheckDoc() Dim lockedFields As Long Dim unlockedFields As New Collection For Each theFields In ActiveDocument.Fields If theFields