laboymc
06-04-2014, 11:22 AM
Hi,
Any help is appreciated.
How to create bookmark using vba within a word and then covert it to pdf and not loose the vba code?
So far this is what I have:
Sub Bookmark()
ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, Address:="../Desktop/ES Attendance Training Doc.docx", SubAddress:="_Toc389644540"
End Sub
When doing this in word it works but when I convert it to pdf it will not go the SubAddress.
ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, Address:="../Desktop/ES Attendance Training Doc.pdf", SubAddress:="_Toc389644540"
Any help is appreciated.
How to create bookmark using vba within a word and then covert it to pdf and not loose the vba code?
So far this is what I have:
Sub Bookmark()
ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, Address:="../Desktop/ES Attendance Training Doc.docx", SubAddress:="_Toc389644540"
End Sub
When doing this in word it works but when I convert it to pdf it will not go the SubAddress.
ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, Address:="../Desktop/ES Attendance Training Doc.pdf", SubAddress:="_Toc389644540"