Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Clear Bookmark using Macro code

Hi

I created a Bookmark with Name="BMTest" , BookmarkID="BM01".

Now i am trying to Clear the bookmark by using macro. i tried below code but generating an error message.

Pls check this below line.

ActiveDocument.ClearDocBookmarks  "BMTest"  'It should remove only this BMTest Bookmark.No other Bookmarks should be removed.

Thanks in advance

1 Reply
lironbaram
Partner - Master III
Partner - Master III

hei

use this line instead

ActiveDocument.RemoveDocBookmark "test"