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

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
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"