Outlook Macro

fac1987

New Member
Joined
Jul 25, 2013
Messages
1
Hi

I am relatively new to macros, I was hoping I might be able to get some help on creating a macro. The macro needs to:
- Run when a certain email comes in (Outlook 2007)
- Save all the attachments into a certain folder (there are 13 altogether)
- For 5 of the sheets which contain the word 'XXXX', it needs to consolidate the lists in each sheet into a new single CSV file (list headers same and in same order)
- For another 5 of the sheets which contain the word 'YYYY', it needs to consolidate the lists in each sheet into a single CSV file (list headers same and in same order)
- Save these two new CSV sheets into a completely separate directory with a certain name for each which includes the latest Monday date

As of now, I have set up a macro in outlook to run when an email with certain words comes into my inbox. I would also like minimal intervention so if this entire macro could be run out of outlook, that would be perfect.

This is probably not all that hard, has anyone come across any forums/sites/code that might be able to help?

Thanks in advance
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,225,651
Messages
6,186,183
Members
453,339
Latest member
Stu61

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