Hello

I was wnderign if you could troubleshoot the following lines of VBA COde I have in my module.

While generating a working copy of the excel file from a Template I want certain Modules to be deleted. While, sometimes the code is working, on some other machines or some other time it does not. Do I need to add a PAUSE for a few seconds in VBA code so the lines get execuited or is there a better way to achive the code to work ?
Please Login or Register  to view this content.
Code in "RemoveVBComponents" Macro
Please Login or Register  to view this content.
Code in "ThisWorkbook"
Please Login or Register  to view this content.
Code in "AutoOpen" Module
Please Login or Register  to view this content.
Grateful for any support and help/guidance.

Kind regards
Vivek