Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
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"