Hi Larry,
If you press Alt-F9, Word will toggle the field code view on/off. You can
use that, without any code, to examine the links.
Other than that, try:
Sub ListFields()
Dim oFld As Field
If ActiveDocument.Fields.Count > 0 Then
For Each oFld In ActiveDocument.Fields
With Selection
.EndKey Unit:=wdStory
.InsertAfter vbCrLf
.EndKey Unit:=wdStory
.TypeText Text:="{" & oFld.Code & "}, " & oFld.Result
End With
Next oFld
End If
End Sub
This will report all field codes and their results at the end of you
document.
Cheers
> Hello --
>
[quoted text clipped - 10 lines]
>
> Larry Mehl
L Mehl - 04 Oct 2005 17:22 GMT
Hi Macropod --
Thank you for the code.
Larry
> Hi Larry,
>
[quoted text clipped - 36 lines]
> >
> > Larry Mehl