My macro runs fine manually.
Its stored in my personal workbook, the workbooks im trying to run the macros on are in OneDrive personal.
Please find the error below.
Sorry, we couldn’t find C:\WINDOWS\system32\PERSONAL.XLSB.
This isnt where my macro is stored.
Ive attached a screeenshot, hope it helps.
Is it a filepath issue ?
So if I understood correctly you are iterating through some excel files and you are calling a macro that is stored in those excel files or are you trying to execute a macro which is stored in a different excel file to modify the initial excel files