In addition to purchasing tools that others offered, you may want to
read the free reference manual that comes with the Acrobat SDK. The SDK
provides a number of objects that allow you to manipulate contents of
PDF pages, bookmarks etc.
You can also combine bookmark management via the SDK with the Java
abilities of Acrobat itself.
I use bookmarks management extensively in one of my Access databases. I
must add that I encountered a couple of fatal glitches when using the
SDK (v. 5). Mainly, I had problems with re-using the same file objects
and, subsequently, bookmark trees. The code eventually crashed, unable
to open any more PDF files. I am saying this so that you are not
surprised if the SDK acts up with VBA.
But in the end, it works great.
Good luck,
Pavel
Thomas Anderson wrote:
I automatically generate several PDF a night from a DB I manage. Below
is a snippet of code that just tweakes the registry settings to store
path and filename then prints the PDF. Typically a report is compiled
of multiple sites and I was wondering if there is a way to add
bookmarks to the PDF's. I'm also familiar with some visual basic
methods to merge single PDF's into one. But I dont know how, if
possible, to add bookmarks.
Can anyone offer suggestions?
code follows
adhSetRegistryValueFromPath "\HKEY_CURRENT_USER\Software\Adobe\Acrobat
PDFWriter\PDFFileName", "J:\TAC\WEB\pm_reports\" & hold_rs!UserName &
".pdf"
Print_Adobe.ChangeToAcrobat
DoCmd.OpenReport "discrepancy_report", acViewNormal
Print_Adobe.ResetDefaultPrinter