fredmartinmaine
IS-IT--Management
I have a need to open Outlook emails, which contain HTML tables. I need to parse some data out of the tables.
I have the email in an object, and can access the HTML body:
Set objOutlook = CreateObject("Outlook.Application")
Set objEmail = objOutlook.CreateItemFromTemplate(EmailFile)
MsgBox(objEmail.body)
MsgBox(objEmail.htmlbody
Unless I'm headed down the wrong path, I'd like to get that htmlbody into an IE.document so I can use some of the GetElement methods to retrieve the data I need.
Can someone point me in the right direction, or to some documentation?
Thanks
Fred
I have the email in an object, and can access the HTML body:
Set objOutlook = CreateObject("Outlook.Application")
Set objEmail = objOutlook.CreateItemFromTemplate(EmailFile)
MsgBox(objEmail.body)
MsgBox(objEmail.htmlbody
Unless I'm headed down the wrong path, I'd like to get that htmlbody into an IE.document so I can use some of the GetElement methods to retrieve the data I need.
Can someone point me in the right direction, or to some documentation?
Thanks
Fred