I have two parts of a macro that I'm trying to get to play nice together. As separate pieces they work but there is a vital link I cannot figure out.
The full code looks a bit like this..
So the idea is it opens a file (eventually it will loop), unlocks the VBA. That all works fine. The last bit of code should delete a module from it then re-import it. The problem is that the code seems to operate on My Addins.xlam where it is stored, and I cannot for the life of me work out how to change the focus to the newly opened file. ANy ideas most welcome.
Bookmarks