View Single Post
 
Old 09-27-2021, 04:19 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,158
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

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
Reply With Quote