Diane Poremsky
Senior Member
- Outlook version
- Outlook 2016 32 bit
- Email Account
- Office 365 Exchange
use the tester macro & change the name of the script you want to run - then use Step into in the VB Editor to watch either step.
Code:
Sub RunScript()
Dim objApp As Outlook.Application
Dim objItem As MailItem
Set objApp = Application
Set objItem = objApp.ActiveExplorer.Selection.Item(1)
'macro name you want to run goes here
saveAttachtoDiskRule objItem
End Sub