Macro Security

Before getting started backtesting with Excel you should be confident in your Excel security settings.

Tradinformed Backtest Models use a small amount of VBA to speed up repetitive tasks. If you want to use these time-saving options, make sure that your settings are secure.

Microsoft changed macro security in 2022 and there are now two levels of macro security.

  • Trusted Files and Trusted Websites
  • Your Excel security settings – Trust Center

Trusted Files and Trusted Websites

Since 2022, Microsoft has automatically disabled all macros with a warning. If you want to allow macros, you can do this on a file-by-file basis (Trusted Files) or a file origin basis (Trusted Websites).

Trusted Files

Right-click on the file icon and select Properties.

At the bottom of the general tab, you will see a security warning. Check the box marked Unblock.

Screenshot of Excel Icon Macro Security Checkbox

Trusted Websites

In Windows, open your Internet Properties. You can do this by typing “Internet Properties” into the Windows search bar.

Select Security and then Trusted Sites.

Next click on Sites to add in the URL of the trusted sites.

To unblock all files from Tradinformed, use the full URL: https://www.tradinformed.com/

Click Add

Screenshot of Windows Internet Properties Box adding trusted website

Video Explaining Trusted Files and Trusted Websites

Trust Center

Trust Center allows you to add an additional layer of security. You can find the Excel Trust Center by clicking:

File – Options – Trust Center – Trust Center Settings

You then need to select the level of Macro Settings. As you can see in the video, I select Disable all macros with notification. You should choose a level that is appropriate for you.