Create duplicate bookmarks

Hi There

Is there a way that you can create more than one Bookmark in a document on the fly? I have tried the following:

builder.Write("I am going to insert a bookmark")

builder.StartBookmark("Bookmarking")

builder.Write("bookmark content")

builder.EndBookmark("Bookmarking")

builder.Write("I have added a bookmark!")

builder.StartBookmark("Bookmarking")

builder.Write("bookmark content")

builder.EndBookmark("Bookmarking")

builder.Write("I have added another bookmark!")

However it does not work, the addition of the second bookmark never appears.

Is there a way around this?

Creation of bookmarks with duplicate names is not allowed in Word documents. You need to set a unique name for each created bookmark.

Best regards,

Ah true but you can create a bookmark with the same name in multiple places.

This is what I want to be able to do.

I don't understand. Please explain where and how you can create bookmarks with the same names in multiple places. MS Word does not allow creating bookmarks with the same names inside one document.