Display text link to open specific PDF page from Excel -
i found vba code online opens internal (shared drive) pdf document page in ie (e.g. goes page 8 of pdf file). display text in cell user click (e.g. "click here view").
problem: cell displays '0' , have go function bar , hit [enter] execute.
excel version: 2003
function call:
=gotopdfpage("s:\...x_2011.pdf",8) vba code:
function gotopdfpage(fname string, pg integer) set ie = createobject("internetexplorer.application") ie .navigate fname & "#page=" & pg .visible = true end end function :edit:
i able display text, it's still not link wanted.
="click view" & gotopdfpage("s:\...x_2011.pdf",8) thank help.
try menu->data->data validation. in 2nd tab can write message.
Comments
Post a Comment