I am trying to insert text at a bookmark using the following code:
bookmarkNav.MoveToBookmark(bookmarkName)
bookmarkNav.InsertText(value, True)
This works fine for all the bookmarks except 1 specifically. When looking at the bookmarkNav values during debug it shows that the BookmarkEnd is null, the BookmarkStart is not null.
When I try to do the InsertText I get a NullReferenceException.
SyncfusionDocIO.DLS.Bookmark.BookmarkEnd.get returned nothing.
Why would there be a valid start but no valid end? How can I deal with this short of modifying the document in Word first?(not an option for me)