Excel Macro Mail

benjamin132

New Member
Joined
Jun 8, 2022
Messages
21
Platform
  1. Windows
Hi everyone,
I am totally new with Excel VBA and i need to make a macro which :
open a mail -> take attachment -> unzip this attachment -> open this attachement
In othe other side with the title of the mail, search the file in my computer for exemple if the title of the mail is "CTA_2022" i need to find in my computer the file in the folder "CTA" then the folder "2022" then take the file "LLD.xlsx" (there is only one file in each folder)
Between these files i need to compare some informations. (between this "LLD.xlsx" and the file unzipped)

Ok i know my request is big big big, but if someone can help me in a part of this. I will appreciate it a lot because I am totally lost :D

Thanks by advance
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,223,099
Messages
6,170,107
Members
452,302
Latest member
TaMere

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