bamblack
Board Regular
- Joined
- Aug 15, 2011
- Messages
- 208
Hi all,
I've written a bit of code:
However, when I try to set up a rule so that it will run this code when a certain email is received, the subroutine isn't showing up in the "Run a script" menu. I have the code saved in it's own standard module. I've been trying to figure it out for the past hour or so and haven't been able to make any headway on it. I'm just jumping into Outlook VBA, so any suggestions on how to fix it would be greatly appreciated!
I've written a bit of code:
Code:
Option Explicit
Sub Run(msg As MailItem)
'Miscellaneous code here
End Sub
However, when I try to set up a rule so that it will run this code when a certain email is received, the subroutine isn't showing up in the "Run a script" menu. I have the code saved in it's own standard module. I've been trying to figure it out for the past hour or so and haven't been able to make any headway on it. I'm just jumping into Outlook VBA, so any suggestions on how to fix it would be greatly appreciated!