![]() |
|
|
|
#1
|
|||
|
|||
|
I found it. The way it works for me is
Code:
If .Find.Found = True Then
Set Rng = .Duplicate
Set Rng = Rng.GoTo(What:=wdGoToBookmark, Name:="\HeadingLevel")
Rng.Start = Rng.Paragraphs.First.Range.End
MsgBox Rng.Text
End If
|
|
| Tags |
| chapters, selecting text |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
After putting a text box behind text I can't select it anymore
|
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 |
Select section of text and change text
|
newbieX | Word VBA | 3 | 03-28-2014 04:21 PM |