Need VBA code to extract from Outlook 365 to Excel 365

amyj22x3

New Member
Joined
Jul 24, 2018
Messages
14
Office Version
  1. 365
Platform
  1. Windows
I've searched through countless posts on here/elsewhere and can't get anything to work for me, so my apologies if this has been posted a million times.

I know nothing about VBA and if you're reading this, then most likely you've forgotten more than I've learned, so please bear with me.

I just started a new job that requires the data from emails to be copy/pasted one field at a time into an existing spreadsheet and I'm not doing that, it's far too manual/time consuming and I know there's got to be a better way. The emails are are the same in terms of structure from first line to last.

Example:

First Name: Andy (Needed)
Last Name: Dufresne (Needed)
Address: Not Needed
Apt. Unit: Not Needed
City: Not Needed
State: Not Needed
Zipcode: Not Needed
Phone Number: 1234567890 (Needed)
DOB: Not Needed
Email Address: Shawshank@Redemption dot com (Needed)

I only need to extract First Name, Last Name, Phone Number and Email into excel, but I'll export all and delete after if that's easier.

What do I need to do to copy/paste VBA code that works? I've tried copy/pasting code found on the internet, but they all fail and I'm sure it's my own ineptness. And I don't know what to do with the vague errors anyway.

Please save me from me, thanks.
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

Forum statistics

Threads
1,223,885
Messages
6,175,179
Members
452,615
Latest member
bogeys2birdies

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