yogeshspsoft
03-05-2012, 11:17 AM
Hello All:
From MS word 2007, want to Hyperlink to the specific page of an PDF file but it always opens the first page of the PDF file
Using:
StrLocationFileNm = TxtPDFFile.Text & "#page=5"
ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, Address:=StrLocationFileNm, SubAddress:="", ScreenTip:="", _
TextToDisplay:="Read More..."
Attached it the code that is not working. If someone can help me with making it work
Code Working Prerequisite: VB 6.0
Open word document. Place your cursor where you want the hyperlink text "Read More..." to appear.
Execute the application, Select "Hyperlink" menu, Select the PDF file and its page number to be hyperlinked.
Then click on "Link" button.
In the word document the link "Read More..." will appear that should open the PDF file at specific location but it open the PDF file at first
page (Page# 1) always
Thank you for your valuable time and help
Thanks,
Yogesh
From MS word 2007, want to Hyperlink to the specific page of an PDF file but it always opens the first page of the PDF file
Using:
StrLocationFileNm = TxtPDFFile.Text & "#page=5"
ActiveDocument.Hyperlinks.Add Anchor:=Selection.Range, Address:=StrLocationFileNm, SubAddress:="", ScreenTip:="", _
TextToDisplay:="Read More..."
Attached it the code that is not working. If someone can help me with making it work
Code Working Prerequisite: VB 6.0
Open word document. Place your cursor where you want the hyperlink text "Read More..." to appear.
Execute the application, Select "Hyperlink" menu, Select the PDF file and its page number to be hyperlinked.
Then click on "Link" button.
In the word document the link "Read More..." will appear that should open the PDF file at specific location but it open the PDF file at first
page (Page# 1) always
Thank you for your valuable time and help
Thanks,
Yogesh