Script/Macro capability won't enable in VBA

article #934, updated 551 days ago

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:

  1. Export your modules to .BAS files
  2. Exit Outlook
  3. Go here in Explorer:
    C:\Users\[user]AppData\Roaming\Microsoft\Outlook
  4. Delete the OTM file
  5. Restart Outlook
  6. Import your exported .BAS files into the new VBA project which it created for you.

Categories:   Scripting