![]() |
|
#2
|
|||
|
|||
|
Got it to work:
Selection.Find.ClearFormatting With Selection.Find .Text = "Index:" .Forward = True .Wrap = wdFindStop End With While Selection.Find.Execute Selection.MoveRight Unit:=wdCell Selection.EndKey Unit:=wdLine, Extend:=wdExtend If Len(Selection.Text) > 1 Then ActiveDocument.Indexes.MarkEntry Range:=Selection.Range, _ EntryAutoText:=SelectedText, CrossReference:="", CrossReferenceAutoText:="", _ BookmarkName:="", Bold:=False, Italic:=False End If Wend |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
can Find/Replace NOT find something?
|
Bobosmite | Word | 6 | 05-27-2010 08:09 PM |
| modifying index styles | alpruett | Word | 0 | 04-23-2010 12:52 PM |
| Printing Index Cards | bOB 1927 | Word | 0 | 01-26-2010 06:51 PM |
| Moving a Index/Match function | FraserKitchell | Excel | 2 | 01-19-2010 09:38 AM |
| Problem with creating index | klb_08 | Word | 0 | 11-11-2009 06:08 AM |