Pull Specific Data from Outlook body 2016 and Export to an Excel File

cjcjinga

New Member
Joined
Feb 27, 2017
Messages
2
Hi,

I have tried several scripts (and modified them) but I seem to be missing something. I would like to export, from a specified folder in Outlook, specific body items.

This is from the body:

SM Form 2018-05-11 11:19 AM was submitted by Guest on 5/11/2018 11:19:03 AM (GMT-05:00) US/Eastern
[TABLE="class: cms_table"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Value[/TD]
[/TR]
[TR]
[TD]School or District[/TD]
[TD]MyHometown School[/TD]
[/TR]
[TR]
[TD]Mobile Phone Number to OptOut[/TD]
[TD]9999999999[/TD]
[/TR]
</tbody>[/TABLE]


I only want the two rows of data for School or district XXXXX, and for Mobile Phone Number to OptOut xxxxxxxxxx.
Would someone mind helping me out with this?
School or District, and Mobile Phone Number for to OptOut verbiage can be the column titles. I would then only need to extract the school name and phone number into the appropriate row/columns.

Thank you in advance for your assistance. It is much appreciated.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,223,886
Messages
6,175,196
Members
452,616
Latest member
intern444

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