Avast 24.4.6112 (build 24.4.9067.840) Mail Shield blocks Outlook VBA code

I have VBA code, set in the latest Outlook for Microsoft 365, to run on the Outlook application startup.

However, the Avast 24.4.6112 (build 24.4.9067.840) Mail Shield blocks this code from running.

I have tried allowing Outlook in Blocked and Allowed apps, but the Mail Shield still blocks the code.

Please advise? TIA.

Anyone from Avast care to comment…

Try updating the version to the latest 24.5.

Is your advice based on any known issues/fixes, or is it finger in the wind advice?