View Single Post
 
Old 06-27-2016, 10:02 AM
mrsjetset mrsjetset is offline Windows 10 Office 2016
Novice
 
Join Date: Jun 2016
Posts: 5
mrsjetset is on a distinguished road
Question Where to put Subroutine to make sure bookmarks aren't deleted so cross-references work

I have several bookmarks and cross-references to fill in from a userform, and finally have gotten the basic code to work (first solution found here: http://www.word.mvps.org/FAQs/Macros...AtBookmark.htm). However, I have not a huge number, but enough I'd like to be able to get the subroutine to work. I have put it in several places in the userform code, but I keep getting a 5441 error: The requested member of the collection does not exist. As a side note, the very first time I inserted it (absolutely last thing in the code) it did work (I called it only once in the cmdOK_Click subroutine). When I called it more times for more bookmarks, I got this error. Assistance is greatly appreciated!
Reply With Quote