I receive an email each day that has a table of data in the body of the email. The table has been created by some application - I'm not sure which (not Excel or Access). What I do every day is to copy the table using Ctrl c and then paste it into Excel using Ctrl v.
What I would like to do is automate this such that I hit a button in Excel and a macro would then go to the email, recognize the table, copy it, and paste to Excel.
But is this even possible? For example, can VBA code go to Outlook and locate a specified email? (I could give it the sender name and the subject line). Could the macro then find the table - (it always has the same header titles)? Also, the table length can vary, so the macro would have to deal with that.
If anyone can tell me if this is possible, that would be great.
Thanks,
MikeG
What I would like to do is automate this such that I hit a button in Excel and a macro would then go to the email, recognize the table, copy it, and paste to Excel.
But is this even possible? For example, can VBA code go to Outlook and locate a specified email? (I could give it the sender name and the subject line). Could the macro then find the table - (it always has the same header titles)? Also, the table length can vary, so the macro would have to deal with that.
If anyone can tell me if this is possible, that would be great.
Thanks,
MikeG