> That is odd, Graham. I will check it out again this evening after work.
> Perhaps it was just a glitch. I'll get back to you and let you know. If
[quoted text clipped - 5 lines]
> Alan Stancliff
>> It only spell checks section 2 in my document?
The document I was using had no proofing set throughout. If the document has
the proofing option set then the spell check does appear to continue past
the end of second section. To overcome this, when all else fails hit it with
a blunt instrument ;)
Sub SpellSec2()
Dim rDoc As Range
Dim Sec2 As Range
Set rDoc = ActiveDocument.Range
With rDoc
.Select
#If VBA6 Then
.NoProofing = True
#End If
End With
Set Sec2 = ActiveDocument.Sections(2).Range
With Sec2
.Select
#If VBA6 Then
.NoProofing = False
#End If
.LanguageID = wdEnglishUS
.CheckSpelling
End With
End Sub

Signature
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP
My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Hi Graham,
>
[quoted text clipped - 18 lines]
>> Alan Stancliff
>>> It only spell checks section 2 in my document?
Alan Stancliff - 10 Mar 2008 13:10 GMT
Hi Graham,
Yup, that did it. Thanks.
I do have one other question though. You talk about hitting it with a
blunt object. Perhaps a bit more finesse is called for. Would you go for
a precision sledge hammer? I've been trying to get the boss to get me
one of those, along with a glass of hot chocolate, a bickie, and a
little mattress to roll out under my desk to take an afternoon nap when
it gets too frustrating.
Regards,
Alan Stancliff
> The document I was using had no proofing set throughout. If the document has
> the proofing option set then the spell check does appear to continue past
[quoted text clipped - 21 lines]
> End With
> End Sub