Word.Tips.Net Welcome toWord.Tips.Net

Helpful Links

Tips.Net Home
WordTips Home

Ask a Word Question
Make a Comment

Tips.Net Store

WordTips FAQ
WordTips Premium

Learn Access Now
Free Printable Forms

Beauty Tips
Car Tips
Cleaning Tips
College Tips
Cooking Tips
Excel2007 Tips
ExcelTips
Family Tips
Gardening Tips
Health Tips
Home Tips
Legal Tips
Money Tips
Organizing Tips
Pest Tips
Pet Tips
Wedding Tips
Word2007 Tips
WordTips

Advertise on the
WordTips Site

Newest Tips

Setting Fraction Bar Overhang Spacing in the Equation Editor

Printing On Both Sides of the Paper

Turning Off AutoComplete for Dates

Ordering Search and Replace

Understanding Auto Line Spacing

Adding Comments to Your Document

Conditional Calculations in Word

 

Selecting an Entire Section

Summary: Documents can be subdivided into sections, with each of them formatted differently. If you want to select all the text in a particular section, then you can follow the steps outlined in this tip, or create your own shortcut using the included macro code. (This tip works with Microsoft Word 97, Word 2000, Word 2002, Word 2003, and Word 2007.)

You probably already know that you can press Ctrl+A to select all the text in an entire document. What if you want to select all the text in a particular section of a document, however? Does Word provide a shortcut to select just a single section?

A section is defined as the portion of a document between the beginning of the document and the first section break, between two consecutive section breaks, or between the final section break and the end of the document. There is no shortcut defined in Word that allows you to select a single section of your document. There are, however, some ways that you can perform the selection or you can create your own shortcut.

One simple way is to follow these steps:

  1. Position the insertion point at the beginning of your section.
  2. Press F8 to turn on extend mode.
  3. Press F5 to display the Go To tab of the Find and Replace dialog box. (Click here to see a related figure.)
  4. In the left side of the dialog box, choose Section.
  5. Click Next.

The entire section should now be selected and you can do whatever you want to do next. You can also use a variation on these steps, in this manner:

  1. Position the insertion point at the beginning of your section.
  2. Press F8 to turn on extend mode.
  3. Click the Select Browse Object control. (The small, round ball below the vertical scroll bar, at the bottom-right of your program window.) A palette of available objects appears.
  4. Click the Browse by Section object.

That's it; the section should now be selected. It should be noted that neither of the previous techniques will work properly in selecting the final section of a document or in selecting the entire document if you have only one section in the document.

If you need to select the current selection quite regularly, then you should develop your own shortcut. You can create a macro, and then assign a shortcut key to that macro. The following macro will select the current section:

Sub SelectCurrentSection()
    On Error Resume Next
    Selection.Range.Sections.First.Range.Select
End Sub

The On Error statement at the beginning of the macro is just a quick-and-dirty way of suppressing the error raised if the insertion point is in a header, footer, footnote pane, or any other place where there are no sections defined.

Tip #523 applies to Microsoft Word versions: 97 | 2000 | 2002 | 2003 | 2007

More Power! For some people, the prospect of creating Word macros can be scary. WordTips: The Macros can help you conquer your fears and you'll discover you're much more confident and productive as you make Word do exactly what you want. This is an invaluable source for learning macros. You are introduced to the topic in bite-sized chunks, pulled from past issues of WordTips. Learn at your own pace, exactly the way you want.
 
Check out WordTips: The Macros today!