Excel
A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
2,149 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
When I enter code in the Workbook_open method of an excel file and save it when I want to open it, I can't because it says that the file contains viruses or potentially unwanted software. How can I solve that?
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-
Best Regards.