Outlook VBA: Can't run module. Running code will prompt Macro dialog box - TechRepublic
Question
December 13, 2013 at 06:22 PM
rsxelrate

Outlook VBA: Can’t run module. Running code will prompt Macro dialog box

by rsxelrate . Updated 12 years, 5 months ago

I’m trying to create a script in Outlook VBA.
It was working before, when I clicked run, the script would run. I set up a rule to run it with some criteria and it worked.

I’m not sure what happened or what I did, but now, whenever I click the green Run button, it opens the Macros dialog box.
I can either Cancel, or Create a new macro.
If I create a new macro, it opens my module code and inserts a Sub with the name of the macro I just created.
ie “Sub a End Sub”

Clicking run after this, doesn’t do anything. When the rule triggers the script, it doesn’t execute.

This discussion is locked

All Comments