Hello Gurus,
I've just been asked if it is possible to create some VBA that sits in a master workbook (Excel 2016) that will collect or merge data from hundreds of identical files that get sent to an Outlook 2016 email account as attachments and then move the emails to a named folder in Outlook or a local folder after processing - is that even possible?
The data itself is reasonably straight forward, but will vary in volume from file to file. They want the data from row 3 to where ever the data ends (could be row 5 or row 55 or row 500) copied over to a master workbook.
So for clarity the steps within the process would probably be something like this:-
1. Open the master workbook, initiate a macro.
2. Email 1 and attached workbook 1 is accessed and the data from row 3 to the last row populated is copied into the master workbook.
3. Email 1 is marked as read and/or moved to an Outlook folder (processed or similar name) or extracted to a local folder using a similar name.
4. Email 2 and attached workbook 2 is accessed and so on.
999. The mailbox is empty and all processed files are no longer in the inbox, the master workbook has all the data from XXX workbooks and everyone is happy.
I haven't seen the data and have no idea of the email address or volumes but I am told "hundreds" of emails/attachments
If Outlook is a barrier it may be possible to automate moving the attachments in to a folder and then access all files from the same folder if that simplifies things...but honestly, I have no idea and would appreciate any insights on this.
Many thanks, Paul.
I've just been asked if it is possible to create some VBA that sits in a master workbook (Excel 2016) that will collect or merge data from hundreds of identical files that get sent to an Outlook 2016 email account as attachments and then move the emails to a named folder in Outlook or a local folder after processing - is that even possible?
The data itself is reasonably straight forward, but will vary in volume from file to file. They want the data from row 3 to where ever the data ends (could be row 5 or row 55 or row 500) copied over to a master workbook.
So for clarity the steps within the process would probably be something like this:-
1. Open the master workbook, initiate a macro.
2. Email 1 and attached workbook 1 is accessed and the data from row 3 to the last row populated is copied into the master workbook.
3. Email 1 is marked as read and/or moved to an Outlook folder (processed or similar name) or extracted to a local folder using a similar name.
4. Email 2 and attached workbook 2 is accessed and so on.
999. The mailbox is empty and all processed files are no longer in the inbox, the master workbook has all the data from XXX workbooks and everyone is happy.
I haven't seen the data and have no idea of the email address or volumes but I am told "hundreds" of emails/attachments
If Outlook is a barrier it may be possible to automate moving the attachments in to a folder and then access all files from the same folder if that simplifies things...but honestly, I have no idea and would appreciate any insights on this.
Many thanks, Paul.