I have a table of data that I would like to send as an excel spreadsheet as an attachment via email. I want to be able to do this by clicking a command button.
In a second table I have all the employees email addresses that I want to send it to.
I also don't want everybody to get the same spreadsheet. i only want to send the data that belongs to each person. eg: records 1, 2 & 4 are to be sent to john and records 3, 5 & 6 are to be sent to phil.
In a second table I have all the employees email addresses that I want to send it to.
I also don't want everybody to get the same spreadsheet. i only want to send the data that belongs to each person. eg: records 1, 2 & 4 are to be sent to john and records 3, 5 & 6 are to be sent to phil.