The Hyperlinks property determines whether hyperlinks are included when publishing to PDF.
Examples:
The following VBA example publishes the active document to PDF. The resulting document includes bookmarks, hyperlinks, and thumbnails.
Sub Test()
With ActiveDocument.PDFSettings
.Bookmarks = True
.Hyperlinks = True
.Thumbnails = True
End With
ActiveDocument.PublishToPDF "C:\MyDocument.pdf"
End Sub