![]() |
#3
|
||||
|
||||
![]()
If the heading for Chapters 1.2 & 1.3 use Heading Styles, you might try something based on:
Selection.GoTo What:=wdGoToBookmark, Name:="\HeadingLevel" This will expand the selection to include the heading that contains the insertion point or selection, plus any subordinate headings and text. If the current selection is body text, the "\HeadingLevel" bookmark includes the preceding heading, plus any headings and text subordinate to that heading.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
Tags |
chapters, selecting text |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Mike84bs | Word | 2 | 07-25-2016 07:36 AM |
How to number chapters and sub-chapters in a few clicks? | Icelandic_Boy | Word | 1 | 05-24-2016 11:33 AM |
VBA Search Table for Text/Select Text/Insert Hyperlink | sldrellich | Word VBA | 3 | 03-24-2015 01:09 PM |
Microsoft Word macro to find text, select all text between brackets, and delete | helal1990 | Word VBA | 4 | 02-05-2015 03:52 PM |
![]() |
newbieX | Word VBA | 3 | 03-28-2014 04:21 PM |