Data from Outlook mail body to Excel

Vxcel

New Member
Joined
Jan 6, 2018
Messages
2
Hi Group,
Greetings for the day !
Please find below my query :

I have created a sub-folder by name "Request" on my outlook mailbox where I have run a rule based on certain specific words in the subject line.
Now, all the mails in this particular mailbox have certain text in the mail body followed by a Table of Contents.

The table can have any number of rows but it has 8 column headers . Out of those 8, I want to retrieve only the 4th Column Data which is by name Address and export that specific column data to excel.
I need to run a macro so that it runs through this specified folder and gives me the 4th column data only.

For example the email body looks this :
School Notice

Dear Student,

Please see below details :

Detailed Description:
Check this schedule below

Start date:
10 January 2018

End Date:
NA

Services Impacted:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Class[/TD]
[TD]Section[/TD]
[TD]Address[/TD]
[TD]Subject 1[/TD]
[TD]Subject 2[/TD]
[TD]Subject 3[/TD]
[TD]Subject 4[/TD]
[/TR]
[TR]
[TD]ABC[/TD]
[TD]4[/TD]
[TD]D[/TD]
[TD] NRWTN1,HALL ROAD,WHITE LODGE,NORWICH[/TD]
[TD]50[/TD]
[TD]60[/TD]
[TD]70[/TD]
[TD]80[/TD]
[/TR]
[TR]
[TD]DEF[/TD]
[TD]10[/TD]
[TD]G[/TD]
[TD]CROYDON SOUTH NORWOOD HILL[/TD]
[TD]80[/TD]
[TD]70[/TD]
[TD]85[/TD]
[TD]75[/TD]
[/TR]
</tbody>[/TABLE]

Any help/leads on how this can be done ?
Thanks !
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
I would like to see the Output of the code to be as :

Address
NRWTN1,HALL ROAD,WHITE LODGE,NORWICH
CROYDON SOUTH NORWOOD HILL
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

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