Tommy Snoberg Soderberg
New Member
- Joined
- Mar 3, 2021
- Messages
- 17
- Office Version
- 365
- Platform
- Windows
Hi,
I need a macro that will save attachments that are sent by mail as a specific name.
Let's say that the mail header is "incoming file - 2021-03-08". and that this mail has an attachment I want to save as "incoming File.xlsx"
The next day another mail will come with the title "incoming file - 2021-03-09" with an attachment which I want to overwrite my "incoming file.xlsx. with.
So I want all emails containing "incoming file" regardless of any other text (as the date in this case) to be processed.
I always want the macro to save the latest incoming files attachment and ignore any emails prior to that in my inbox.
How would such a macro look like?
I need a macro that will save attachments that are sent by mail as a specific name.
Let's say that the mail header is "incoming file - 2021-03-08". and that this mail has an attachment I want to save as "incoming File.xlsx"
The next day another mail will come with the title "incoming file - 2021-03-09" with an attachment which I want to overwrite my "incoming file.xlsx. with.
So I want all emails containing "incoming file" regardless of any other text (as the date in this case) to be processed.
I always want the macro to save the latest incoming files attachment and ignore any emails prior to that in my inbox.
How would such a macro look like?