![]() |
#4
|
|||
|
|||
![]()
Phil,
I had the Exit For in the wrong place. Sorry: Code:
Sub ScratchMacro() 'A basic Word macro coded by Greg Maxey Dim oFld As Word.Field For Each oFld In ActiveDocument.Range.Fields If oFld.Type = wdFieldIndex Then oFld.Select Exit For End If Next oFld End Sub |
Tags |
gotoindex macro, index, indexing in word |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
gtpt | Word | 1 | 03-07-2014 07:34 PM |
Need help with Index formula | gbaker | Excel | 7 | 02-07-2014 06:34 AM |
![]() |
Lebber | Word | 3 | 08-05-2013 02:13 AM |
Adding an Index | savo | Word | 1 | 04-17-2013 06:16 PM |
![]() |
cksm4 | Word VBA | 2 | 02-03-2011 07:21 AM |