Create child/nested bookmarks using Excel vba

New Here ,
Jun 30, 2020

Copy link to clipboard

Copied

I have successfully created a new PDF and added bookmarks to it.  I am trying to create child or nested bookmarks, but can't seem to figure out if this can be done using vba.  The code I am using to create the bookmarks is;

PDFPageView.GoTo (ws.Cells(irow, 1).Value)
AcroApp.MenuItemExecute ("NewBookmark")
x = PDBookmark.GetByTitle(LiquidPDF, "Untitled")
x = PDBookmark.SetTitle(ws.Cells(irow, 2).Value)

This works well, but really need to nest some of my bookmarks.

Thanks,

Dave

TOPICS
Acrobat SDK and JavaScript

Views

28

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Create child/nested bookmarks using Excel vba

New Here ,
Jun 30, 2020

Copy link to clipboard

Copied

I have successfully created a new PDF and added bookmarks to it.  I am trying to create child or nested bookmarks, but can't seem to figure out if this can be done using vba.  The code I am using to create the bookmarks is;

PDFPageView.GoTo (ws.Cells(irow, 1).Value)
AcroApp.MenuItemExecute ("NewBookmark")
x = PDBookmark.GetByTitle(LiquidPDF, "Untitled")
x = PDBookmark.SetTitle(ws.Cells(irow, 2).Value)

This works well, but really need to nest some of my bookmarks.

Thanks,

Dave

TOPICS
Acrobat SDK and JavaScript

Views

29

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jun 30, 2020 0

Have something to add?

Join the conversation