I don't see any point in creating an add-in for that situation. Just put your code in a normal module and add a loop through all files in a folder.