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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
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"