The problems relate to the use of a multi-select list box.
I have fixed the issues in the attached, allowing you to retain the multi-use function, and the ability to edit the document if you make a mistake, by re-running the main code.
The document would be better saved as a template from which you should create new documents.