Set Focus on Excel Workbook
I'm building an Outlook macro that sends email contents to an Excel spreadsheet. It's working perfectly up to the point where Outlook passes control to Excel.
By virtue of focus I cannot get my Excel macro to seamlessly begin executing after the Outlook macro execution finishes with the summon command, "Run [Macro name]"
I know I can set focus on other applications, I'm just unsure how to go about that. I've poured over documentation from Microsoft and I'm having a terrible time digesting the information and making use of it.
TL;DR: I need to set focus on an Excel workbook from an Outlook macro.
Guidance is deeply appreciated.