Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 01-03-2011, 11:33 AM
cksm4 cksm4 is offline Find and Index Windows XP Find and Index Office 2007
Advanced Beginner
Find and Index
 
Join Date: Aug 2010
Posts: 48
cksm4 is on a distinguished road
Default

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
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and Index 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

Other Forums: Access Forums

All times are GMT -7. The time now is 01:09 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft