View Single Post
 
Old 08-03-2018, 04:13 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,363
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You could use a macro like:
Code:
Sub Demo()
Dim RngDoc As Range, RngOut As Range, Fld As Field
With ActiveDocument
  .Range.InsertAfter vbCr & Chr(12)
  Set RngDoc = .Range
  RngDoc.End = RngDoc.End - 2
  Set RngOut = .Characters.Last
  For Each Fld In RngDoc.Fields
    Select Case Fld.Type
      Case wdFieldData, wdFieldDatabase, wdFieldDDE, wdFieldDDEAuto, wdFieldImport, _
        wdFieldInclude, wdFieldIncludePicture, wdFieldIncludeText, wdFieldRefDoc
        With RngOut
          .InsertAfter vbCr
          .Characters.Last.Text = Fld.LinkFormat.SourceFullName
        End With
      Case wdFieldHyperlink
        With RngOut
          .InsertAfter vbCr
          .Characters.Last.FormattedText = Fld.Result.FormattedText
        End With
    End Select
  Next
  RngOut.Collapse wdCollapseStart
  RngOut.Text = "External Links"
End With
End Sub
Hyperlinks are retained as such; in all other cases, the list simply indicates the path & name of the source file.

For PC macro installation & usage instructions, see: http://www.gmayor.com/installing_macro.htm
For Mac macro installation & usage instructions, see: https://wordmvp.com/Mac/InstallMacro.html
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote