Excel Recording is failing to run vba

When I try to run excel recording and open in studio the error occurs and in excel recording after clicking the button open in studio I am trying to run a macro can some one guide me on this.
Attaching the screenshot of error.

Thanks in advance


Please enable macro setting in excel options: