Unless you store and retrieve the last-used number, the only way the macro could pick up where it left off is to test the numbers of all the files produced in previous iterations, to see what the highest number is. For some approaches to that, see the links in this post:
https://www.msofficeforums.com/word/...mber-word.html
PS: When posting code, please use the code tags. They're on the 'Go Advanced' tab at the bottom of this screen.