Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello all.
I have a problem with getting the name of the current bookmark.
Can anyone tell me how to get the name of the current bookmar, preferably how to write a macros, which can get the name of the current bookmark? Or maybe there is a chance to make some variable in the script, where I can get the name of the bookmark whith help of some kind of expression?
Thanks
I've looked hard for this feature and so far the only solution I've come up with is to create a list of values in an inputbox that modifies a variable that has a trigger to activate bookmarks when the value changes. In that way, I can use the variable with the bookmark name any place I want to.
Hopefully, QlikView will have a feature like you describe in some future release.
Regards.
Guys, thanks a lot for help!
It's a silly code to get the names of all the document bookmarks. Hope that helps :
function bookMarkNames
bookmarks = ActiveDocument.GetDocBookmarkNames
for i = 0 to UBound(bookmarks)
bm = bookmarks(i)
msgbox(bm)
next
end function
Hi Marcel.
I would be interested about this. How this macro works? I did run It but I see no boomarks anywhere. Where is that field with bookmarks now? Please be specific or provide example file.
Thanks a lot.