Hi,
Please share the error message you're facing.
Apart from that, here's how you can enable VBA macros:
- Open Excel and click on the "File" tab.
- Select "Options" from the left-hand side menu.
- In the Excel Options dialog box, choose "Trust Center" from the left-hand side menu.
- Click on the "Trust Center Settings" button on the right-hand side.
- In the Trust Center dialog box, select "Macro Settings" from the left-hand side menu.
- Check the "Enable all macros" option.
- Click the "OK" button to save the changes and close the Trust Center dialog box.
Best Regards.