Questions

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

Tags: Software
+
0 Votes

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

RSXelrate
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.

Member Answers