I also got it working, eventually recreating the tasks the macro would do and also the last few hints from McGrim.

Thank you all for your patience on this thread!