Dear All,
I hope that someone can help me with a task I need to complete very quickly. I've spent a couple of hours searching forums but cannot find exactly what I need.
I have a folder containing several hundred pdf files which use the individual's email address at the beginning of the file name. The pdf names are as follows:
emailaddress_COI_Report.pdf
Folder location: N:\December\Reports
I would like to use a macro-enabled workbook to search the folder, ignoring the last 15 characters of the file name. This should enable a match with the email addresses in sheet 1, column A, cells A2,A3, A4 etc.
When a match is found, the specific pdf should be attached to the recipient's email message.
I would be grateful for any advice on how to accomplish this.
Many thanks
halltribe
Bookmarks