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

Announcements
Congratulations to the new Qlik Luminary and Partner Ambassador class! Meet them 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

Labels (1)
1 Reply
lironbaram
Partner - Master III
Partner - Master III

hei

use this line instead

ActiveDocument.RemoveDocBookmark "test"