NewOrderFac33
Well-known Member
- Joined
- Sep 26, 2011
- Messages
- 1,283
- Office Version
- 2016
- 2010
- Platform
- Windows
Good morning - I hope that if nobody on here can help that you can point me to the MrExcel equivalent for Outlook!
I have a simple Outlook rule that runs the following VBA macro whenever a mail containing specific wording is received.
However, if Outlook isn't "on top", the MsgBox obviously isn't seen until the user switches the focus to Outlook.
Is there any way to make the macro activate Outlook, to make sure that the user sees the MsgBox?
Thanks in advance
Pete
I have a simple Outlook rule that runs the following VBA macro whenever a mail containing specific wording is received.
Code:
Sub AuthRelToUAT(item As Outlook.MailItem)
MsgBox ("UAT Release in the Queue!")
End Sub
However, if Outlook isn't "on top", the MsgBox obviously isn't seen until the user switches the focus to Outlook.
Is there any way to make the macro activate Outlook, to make sure that the user sees the MsgBox?
Thanks in advance
Pete
Last edited: