Hello fellow tek-tippers,
The following code creates a post script file from select pages of a word document that I can then open (manualy), with the acrobat distiller within the adobe acrobat 6.0 .exe, and step through the "make pdf process" but all hyperlinks are ignored.
So two questions ...
Is there a way/method that will retain the hyperlinks and if so...
is there a way to do this all via VBA code ...maybe by passing the post script phase or by running yet another procedure to create the final PDF from the post script file?
Sub pdf_test()
ActivePrinter = "Adobe PDF"
Application.PrintOut FileName:="", Range:=wdPrintRangeOfPages, outputfilename:="i:\test_pdf_2.ps", Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="2-2", PageType:= _
wdPrintAllPages, ManualDuplexPrint:=False, Collate:=True, Background:= _
False, PrintToFile:=False, PrintZoomColumn:=0, PrintZoomRow:=0, _
PrintZoomPaperWidth:=0, PrintZoomPaperHeight:=0
End Sub
The following code creates a post script file from select pages of a word document that I can then open (manualy), with the acrobat distiller within the adobe acrobat 6.0 .exe, and step through the "make pdf process" but all hyperlinks are ignored.
So two questions ...
Is there a way/method that will retain the hyperlinks and if so...
is there a way to do this all via VBA code ...maybe by passing the post script phase or by running yet another procedure to create the final PDF from the post script file?
Sub pdf_test()
ActivePrinter = "Adobe PDF"
Application.PrintOut FileName:="", Range:=wdPrintRangeOfPages, outputfilename:="i:\test_pdf_2.ps", Item:= _
wdPrintDocumentContent, Copies:=1, Pages:="2-2", PageType:= _
wdPrintAllPages, ManualDuplexPrint:=False, Collate:=True, Background:= _
False, PrintToFile:=False, PrintZoomColumn:=0, PrintZoomRow:=0, _
PrintZoomPaperWidth:=0, PrintZoomPaperHeight:=0
End Sub