First copy this code below and go to TOOLS >> MACRO >> VISUAL BASIC EDITOR then right click on "Microsoft Office Outlook" click on INSERT >> MODULE and paste the code in white area. Then go to the top of the menu bar click TOOLS >> References >> and look for
Microsoft Excel 11.0 Object Library or
Microsoft Excel 12.0 Object Library and check mark it and save it. close out Oulook and reopen it.
Now go to TOOLs >>RULES and ALERT >> NEW RULE >> click on CHECK MESSAGE WHEN THEY ARRIVE >> CHECK MARK "Specific words in the Subject line" then at the bottom click "Specific words" and type "Please refresh Quotes" (Without the quotes) click add then click next and check mark "run script" then at the bottom box click "a script" and select ok and click finish.
Code:
Sub CallExcelMacro()
Dim eApp As Excel.Application
'Note: Must have set reference to:
'Microsoft Excel 11.0 Object Library
'This is accessed in the VBE Editor
'Under Tools -> References...
Set eApp = GetObject(, "Excel.Application") 'Assumes Excel is open,
'Use CreateObject if Excel is not open.
eApp.Run "Button1_Click"
End Sub