Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Get Bookmark ID by Name

Hi,

sorry to need your help again:

I found the code in the community listing all available bookmarks:

function bookMarkNames

     bookmarks = ActiveDocument.GetDocBookmarkNames

     for i = 0 to UBound(bookmarks)

         bm = bookmarks(i)

         msgbox(bm)

     next

end function

I want to write the list of bookmarks in the possible value list of an input field. So actually I have two questions:

- How can I add the values returned above to the list of possible values in an input field?

- How do I get the bookmark ID (like BM01) when I know the name of it? (I imagine something like "ActiveDocument.GetBookmarkIDbyName(id)" or something like that...)

Thank you so much in advance,

Martin

11 Replies
rajeshvaswani77
Specialist III
Specialist III

Thanks Martin,

I have researched to the max. There seems no other way. I am keen to know if there is any other way.

If you come across something, please do post here.

regards,

Rajesh Vaswani

ashfaq_haseeb
Champion III
Champion III

Hi,

Did you check this post

http://community.qlik.com/message/81005#81005

Regards

ASHFAQ