If all of your settings are correct but you still get the popup saying that macros are disabled, your OTM file — the VBA project file — is corrupt. In the case of Outlook:
- Export your modules to .BAS files
- Exit Outlook
- Go here in Explorer:
C:\Users\[user]AppData\Roaming\Microsoft\Outlook
- Delete the OTM file
- Restart Outlook
- Import your exported .BAS files into the new VBA project which it created for you.