Hi again,
Thanks for that feedback.
As I can't replicate your problem I obviously can't test my suggestions, but the following approach might be worth trying:
run a routine which deletes the old VBA CodeModules;
run a routine which uses the OnTime method to immediately (or after e.g. one second) run a routine which imports the new VBA CodeModules;
allow the importing routine to run.
I have often found that using the OnTime method in this way allows Excel to "catch its breath" between operations and achieve the required results.
Hope this helps.
Regards,
Greg M
Bookmarks