3,887 questions
Hi,
Don't worry. It's just a security warning message by Excel because macros can be used to execute potentially dangerous code.
To resolve this issue, you will need to add the file's location to the list of trusted locations in Excel.
Here's how you can do that-
- Open Excel and go to the "File" Menu.
- Click on "Options".
- In the Excel Options dialog box, select "Trust Center" on the left.
- Click on the "Trust Center Settings" button on the right.
- In the Trust Center dialog box, select "Trusted Locations".
- Click on the "Add new location".
- Browse to the folder where your Excel file with the VBA code is, and click on "OK."
- Ensure that the checkbox "Subfolders of this location are also trusted" is checked.
- Click "OK".
Best Regards.