I have a number of documents with an AutoOpen module located under the project Modules. I want to be able to run a string of code on these documents affecting their appearance (that code is completed now thanks to EE) and then run some code to remove all VBA modules in the Project. I don't want users to have to click enable macros on opening. I have tried a number of different solution from the internet and receive errors from all. Most involve a RemoveAllMacross Sub that I call from a macro; however, I cannot get this approach to work.
The code I am running is in my global template for this machine and does not affect the end result. I can go in and delete the Links module just fine and it solves the problem but across 700 docs that could get very time consuming. With my current approach it will only take an hour to complete if I have to manually delete the module it will take much much longer. I would like to be able to run the code as a macro from my machine template leaving the Document "Clean' Thank you in advance.