Attached is a spreadsheet with a number of rows containing basic trading terms for a number of companies (made up). Column T contains an email address.
The button on the sheet has a macro assigned to it which is designed to split the top row of headings and each individual separate row and then send those two rows to the relevant email address in column T in a separate excel worksheet.
However I would like to alter the macro so that if the same email address appears in multiple rows then each of these rows is collated together along with the top row of column headings into one spreadsheet and then sent as one email attachment to that email address.
Based on the example (example sheet) attached I would expect a workbook containing the following to be sent to firstname.lastname@example.org (1 email to be sent only)
Would anyone be able to alter the coding in the macro to this?