What if we only want the possibility to save the document and not open.
you have to open to make changes
but you can close and save
at the end add thisdocument.close true

ideally you should have all the code in some other document, open each document in folder, make appropriate changes, close and save, open next
not have the code in the open event for every document