Hello,
I have a folder containing email attachments, but they are all labelled as REF XXXXXXXX.PDF I have used some software to generate an excel file with email data, one column is the name of the attachment, the other is the subject. I know there is a way to do it through VBA, as I've seen numerous renaming posts, I just can't seem to modify and make it work for the info I have.
All the attachments are in one folder "C:\source files\", I am fine if they overwrite within the same folder or output to a different folder. The new name needs to be a combination of the Sender and the Subject. If it's easier to do as an direct swap.
I could easily convert the info I have into 2 columns, an input path name, and an output path name if that make the programming easier
I have a folder containing email attachments, but they are all labelled as REF XXXXXXXX.PDF I have used some software to generate an excel file with email data, one column is the name of the attachment, the other is the subject. I know there is a way to do it through VBA, as I've seen numerous renaming posts, I just can't seem to modify and make it work for the info I have.
All the attachments are in one folder "C:\source files\", I am fine if they overwrite within the same folder or output to a different folder. The new name needs to be a combination of the Sender and the Subject. If it's easier to do as an direct swap.
Attachment Name | Sender | Subject | ||
REF 1785988.pdf | John Doe | Task 1 - Date - REF 1785988.pdf | ||
| Steve Smith |
| ||
| Jane Doe |
|
I could easily convert the info I have into 2 columns, an input path name, and an output path name if that make the programming easier
Input Files | Output Files | ||
C:\Source Files\REF 1785988.pdf | C:\Output Files\John Doe Task 1 - Date - REF1785988.pdf | ||
|
|