PDA

View Full Version : How can I automatically select the text of a Section in Word?


Matt Landry
November 24th 04, 11:55 PM
How can I automatically select the text of a Section in Word?

Daiya Mitchell
November 25th 04, 12:06 AM
On 11/24/04 3:55 PM, "Matt Landry" wrote:

> How can I automatically select the text of a Section in Word?

Hit F8 multiple times (5, I think), until it goes beyond a paragraph.
F8 2x-selects word
3x-selects sentence
4x-selects paragraph
5x-selects section (text and following section break selected)

DM

PS. Just discovered that Word can't recognize the difference between St.
Lucia in a sentence and an actual sentence. Hmmm. Any way to get around
that?

--
Daiya Mitchell, MVP Mac/Word
Word FAQ: http://www.word.mvps.org/
MacWord Tips: <http://www.word.mvps.org/MacWordNew/>
What's an MVP? A volunteer! Read the FAQ: http://mvp.support.microsoft.com/

Graham Mayor
November 25th 04, 08:54 AM
Matt Landry wrote:
> How can I automatically select the text of a Section in Word?

The following macro will select the section that the cursor is in

Sub SelectSection()
ActiveDocument.Bookmarks("\section").Range.Select
End Sub

See http://www.gmayor.com/installing_macro.htm

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>

Google