I already posted a link telling you how to install & use the macro...
As for accepting changes, although your own macro has code for that, it's not apparent how that's relevant to a folder full of documents. Are you suggesting those documents, too, might have tracked changes that you want accepted? If so, after:
With wdDoc
insert:
Code:
.TrackRevisions = False
.AcceptAllRevisions