Extracting an attachment from within an attached 'Outlook Item'

blimboy

New Member
Joined
Apr 27, 2017
Messages
6
Hi All,

Sorry if this has been asked already, If it has I've not been able to find it.

I have a shared inbox in outlook that receives a mixture of emails with attached .csv files, I have built a macro to extract the .csv (if they match certain keywords), the macro then merges them into a master file, emails it and saves a backup of the master file to a folder and deletes all of the temp files, it then moves the processed emails to an archive folder in outlook.

After completeing the macro I have discovered that there are a handful of messages that hold an 'Outlook Item' as an attachment which in turn holds the .csv file i'm after.

Outlook Extract.jpg

I'm looking for some code to extract the 'Outlook Item' into the mailbox so it will get picked up by my macro.

Any help would be gratefully received.

Cheers
Nik
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
I should probably add that the macro is held within an excel sheet, not within outlook.

Cheers
Nik
 
Upvote 0

Forum statistics

Threads
1,214,620
Messages
6,120,554
Members
448,970
Latest member
kennimack

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