Extracting certain text from Outlook email to an excel

Tyirie

New Member
Joined
Jun 15, 2018
Messages
1
Hello, I am trying to extract text from a form email I receive daily. Shown below is what an example of what comes in. I would like to create a column for each of the fields that are in bold below. Also, the emails are not contained in my inbox but in a subfolder of a personal folder. Patch to the folder is xmas pst\Inbox\Alert. Can someone please help me with the VB code?




A Safety Alert has been triggered for the following case:
[TABLE="width: 100%"]
<tbody>[TR]
[TD]Case Number:[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Model:[/TD]
[TD]STRDH550[/TD]
[/TR]
[TR]
[TD]Serial:[/TD]
[TD]8943327[/TD]
[/TR]
[TR]
[TD]Customer:[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Address:[/TD]
[TD]560 Bay Catfish Road
Latta
South Carolina
29565
United States[/TD]
[/TR]
[TR]
[TD]Phone:[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Email:[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Agent ID:[/TD]
[TD]1000314159[/TD]
[/TR]
[TR]
[TD]Department:[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Case Opened: [/TD]
[TD]6/5/2018[/TD]
[/TR]
[TR]
[TD]Escalated:[/TD]
[TD]6/12/2018 5:26 PM[/TD]
[/TR]
[TR]
[TD]Escalation Reason:[/TD]
[TD]Keyword[/TD]
[/TR]
[TR]
[TD]Escalation Severity:[/TD]
[TD]Information Only[/TD]
[/TR]
[TR]
[TD]Keyword:[/TD]
[TD]Blown [/TD]
[/TR]
[TR]
[TD]Escalation Notes:[/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top