Data scrape from emails

dnorm

Board Regular
Joined
Dec 28, 2017
Messages
125
Office Version
  1. 365
Platform
  1. Windows
Hi All

I am wanting to scrape data from emails to automatically generate an excel table.
i.e. I get one email stating "backup of storage 1 success", "backup of storage 2 failed".
these are from the same account to me i.e. backups@yourstorage.c...

Doing a simple "Record actions" will not do this task. so I am after help with getting the VBA started.

Thanks all!
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
any chance of an example of some data( dummy data) to work with, it also helps clarify the request, what you need v what you want. Is it just a single email with a block of data, delimiters etc or are you talikng multiple emails
 
Upvote 0
Hi Kerryx

The Email subject will always state (where "*" is a number):

"#TSK***** - New Support Ticket received"

The data comes in this format in the email body ("Success" is switched out to either "Warning" or "Failed"):

Ticket ID: TSK38553
Summary: [Success] Backup Configuration Job (1 machines)
Created: 27/11/2023 10:05:28
User: Backup
Priority: Middle
Impact: Workgroup
Urgency: Malfunction
Service Level Agreement: Tasks
Reaction Point: 06/12/2023 10:06:00
Solution Point: 15/12/2023 10:06:00
Status: New
Responsible Role: Support

I am looking to extract the summary data to compile the various states of each backup (there are 12 in total).
I intend on making a tab for each "machine" then have an email generate is one machine fails too many times in succession (that part I can do).

I hope this makes this easier to understand. I have not generated the sheet yet so "MYDATA.xlsm" in a C:\Temp\ would be great!
 
Upvote 0

Forum statistics

Threads
1,215,195
Messages
6,123,572
Members
449,108
Latest member
rache47

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