first thing …use execute macro activity to start a macro instead of clicking and all…and 1004 occurs when code could not be read…second thing if the macro is there in excel then it should be an xlsb and not xlsx …so please check the same
You can use the Execute Macro activity to run macros that are already written within an Excel file. This activity is part of the Classic Excel activities.
If you need to execute external macros, you can write the macro code in a text file and use the Invoke VBA activity to run it in an Excel file. The Invoke VBA activity is part of the Modern Excel activities.