I've created a macro to load a .bas file inside a Modulex... but when I run the macro a "Call" function doesn't work... the problem is in the next code (ThisWorkbook.VBProject.VBComponents("Module5").CodeModule. _
AddFromFile (ThisWorkbook.Path & "/DoIt.bas"))...
If this part of the code is disable .. the macro runs very well... The macro is activated from a button in the ribbon.
Bookmarks