VBA for saving multiple outlook attachments

Associate
Joined
3 Feb 2009
Posts
670
Location
Glasgow
Was wondering if anyone could assist with this.

I have some VBA experience but nothing working with outlook.

I have a folder with many emails all with a .txt attachment. I was looking for a macro that would save all of the attachments into a folder of my choosing.

I have looked online and found a number of macros but I cannot get any to work as my attachmes all have the same name. Everything I have tried seems to overwrite these attachments during saving.

Any help would be appreciated.

Cheers
 
Thanks Kevpuk, yeah this is how I ended up doing it, just amended some code i found online to add an increasing counter to the end of each file name.

Cheers
 
Back
Top Bottom