Outlook - Running Visual Basic Commands for Individual emails

I am trying to pull tables out of emails but there are multiple challenges that make it too difficult to simply split and parse out the data. I’ve found a solution that involves opening Microsoft Visual Basic (alt+f11) and running a command that generates an Excel File.

I’m having trouble using “get outlook message” to select the message and then run my command. Is there a way to execute commands for individual messages?