I'm not seeing the issue you describe when using my macro in that test document. It had 5 bookmarks before and after running the macro.
The code is not deleting and re-adding a bookmark, it is just adding a footnote anchor at the starting position of a bookmark exists. If the bookmark encloses a range, then the footnote will be inside the bookmark. If the bookmark is a zero length range then the footnote gets added after the bookmark.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|