Execute macro does not run as expected

Yes, when running the macro from Excel it works without problems. Makes a copy of the old sheet and prepares it for a new year.

Regarding your comment about doing everything from UiPath I agree but find it difficult to achieve with macros in Excel.