Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
Bill Davy[_2_] Bill Davy[_2_] is offline
external usenet poster
 
Posts: 12
Default Search to next spelling/grammar mistake

How do I do this?

TIA
Bill

PS Word 2003 SP2


  #2   Report Post  
Posted to microsoft.public.word.newusers
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default Search to next spelling/grammar mistake

Bill Davy wrote:
How do I do this?

TIA
Bill

PS Word 2003 SP2


One way is to bring up the Spelling dialog, either F7 or right-click a word
that has the red way underline and choose Spelling. As you handle each word,
either changing it or ignoring it, the dialog will jump to the next one.

Another way is to use a macro (http://www.gmayor.com/installing_macro.htm):

Sub NextSpellingError()
Dim myRange As Range
Dim docErrs As ProofreadingErrors
Dim nextErr As Range

Set myRange = Selection.Range
Set docErrs = ActiveDocument.SpellingErrors
If docErrs.Count 0 Then
For Each nextErr In docErrs
If nextErr.Start myRange.End Then
nextErr.Select
Exit For
End If
Next
Else
MsgBox "No errors to show"
End If
End Sub

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


  #3   Report Post  
Posted to microsoft.public.word.newusers
Bill Davy[_2_] Bill Davy[_2_] is offline
external usenet poster
 
Posts: 12
Default Search to next spelling/grammar mistake

"Jay Freedman" wrote in message
...
Bill Davy wrote:
How do I do this?

TIA
Bill

PS Word 2003 SP2


One way is to bring up the Spelling dialog, either F7 or right-click a
word that has the red way underline and choose Spelling. As you handle
each word, either changing it or ignoring it, the dialog will jump to the
next one.

Another way is to use a macro
(http://www.gmayor.com/installing_macro.htm):

Sub NextSpellingError()
Dim myRange As Range
Dim docErrs As ProofreadingErrors
Dim nextErr As Range

Set myRange = Selection.Range
Set docErrs = ActiveDocument.SpellingErrors
If docErrs.Count 0 Then
For Each nextErr In docErrs
If nextErr.Start myRange.End Then
nextErr.Select
Exit For
End If
Next
Else
MsgBox "No errors to show"
End If
End Sub

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup
so all may benefit.



Amazing. Thank you.
Bill


Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spelling and grammar Raymond Microsoft Word Help 4 June 7th 07 09:43 PM
Spelling and Grammar Mike Microsoft Word Help 4 April 19th 07 01:07 PM
spelling and grammar joky Microsoft Word Help 1 March 18th 05 07:32 PM
Why does spellcheck recognise a spelling mistake in one document . FatChook Microsoft Word Help 1 March 16th 05 05:16 AM
spelling & grammar Hparracho Microsoft Word Help 1 March 3rd 05 12:35 PM


All times are GMT +1. The time now is 06:37 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"