Please note: this question is regarding a problem in Word for Mac 2016, and NOT Word for Windows. I only refer to the Windows version to provide a contrast and demonstrate the problem. Thanks.
I'm experience problems with links not working when Word for Mac 2016 documents are saved as pdf using the following macro:
Sub SaveActiveDocAsPDF()
On Error Resume Next
Dim saveName As String
Application.DisplayAlerts = False
saveName = ActiveDocument.FullName
saveName = Left(saveName, Len(saveName) - 5) & ".pdf"
ActiveDocument.SaveAs FileName:=saveName, _
FileFormat:=wdFormatPDF
Application.DisplayAlerts = True
End Sub
To demonstrate I've provided the following Word documents saved at this OneDrive folder:
https://1drv.ms/f/s!AiuBf\_pQqHG\_gpFIcWDjzPvoHsYf6Q
example Word for Mac version 16.10.docx
example Word for Mac version 16.10.pdf
example using Word for Windows 2016 version 1708.docx
example using Word for Windows 2016 version 1708.pdf
When the macro is run using the Mac version the link is not active, but when it is run using the Windows version, the link is active. If you test the files above, the link within does not work in the Mac version pdf, but does work in the Windows version
pdf.
I'm using a Macbook Pro with updated OS and updated Office 365 Home software on both Mac and Windows versions.
Thanks,