Once upon a time, I had a nice little function which would open an Word-Document via Microsoft-Interop, export all bookmarks as a Dictionary. I would modify this dictionary and by pass it on to another little function, which would afterwards set all the values of the bookmarks. This