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

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,225,740
Messages
6,186,759
Members
453,370
Latest member
juliewar

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