Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
When I select a bookmark I want to include the name of this bookmark in the caption of the chart.
Is this possible?
Thanks
T
Hi Roderick,
I know of no way to capture the name of a bookmark, it does not appear in a status_box either - but you know which selections are made by it, so you can just query those using GETFIELDSELECTIONS() - and when the selections belonging to any of your bookmarks are all present, you just return the name in the caption.
HTH
Best regards,
DataNibbler
You can try macro: ActiveDocument.GetDocBookmarkNames , like:
bookmarks = ActiveDocument.GetDocBookmarkNames
for i = 0 to UBound(bookmarks)
bm = bookmarks(i)
msgbox(bm)
next