Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Dec 2001
    Location
    Schenectady, New York, USA
    Posts
    273
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Open a PDF file to a Bookmark (2003)

    Can anyone tell me the format for opening a PDF file with a bookmark to that bookmark. I'm using the following format:
    ABC_fs01DATA01COMMON2ASABC HistoricalContracts OfficeElectronic Contract FilesC000377 KPMGC000377KPMGcontract.pdf#PaymentInfo

    The PDF opens but not to the Bookmark PaymentInfo.

    The above file is in the HyperLink Address of a button command.

    TIA
    Don
    <img src=/S/flags/USA.gif border=0 alt=USA width=30 height=18> <img src=/S/flags/NewYork.gif border=0 alt=NewYork width=30 height=18> "Life on Earth is expensive, but at least it includes a free trip around the Sun."

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Open a PDF file to a Bookmark (2003)

    Does it work if you use the format #path_and_filename#bookmark_name (i.e. a # before the path)? If not, see Opening a PDF and jumping to a bookmark for a method using VBA with Automation; it employs late binding, so there is no requirement to set a reference to the Acrobat library.

  3. #3
    3 Star Lounger
    Join Date
    Dec 2001
    Location
    Schenectady, New York, USA
    Posts
    273
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Open a PDF file to a Bookmark (2003)

    Hi Hans,

    The # gives me the message that it can't follow the the hyperlink. But your solution in opening a PDF and jumping to a bookmark works.

    Thank you for your time.

    I searched hours yesterday and never came across this site. Acrobat and Microsoft sites were of no help.
    Don
    <img src=/S/flags/USA.gif border=0 alt=USA width=30 height=18> <img src=/S/flags/NewYork.gif border=0 alt=NewYork width=30 height=18> "Life on Earth is expensive, but at least it includes a free trip around the Sun."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •