Hi,
I have read a lot of posts in this forum but still cannot get my head around this so please forgive me if I'm asking a question that has already been answered.
I have a report that provides detailed information (similar to an invoice) for multiple customers. Each customer has a unique ID and the report is grouped by this and a page break is inserted where the customer ID changes in the report.
I would like to email the report to each customer (with only their details) as an attachment. I have email addresses in the query that is used to generate the report. I am aware that I can do this be running the report for each customer seperately but there are over 140 so I would like to automate it, so it sends the relevant report to each customer automatically.
I am a beginer to VBA so if any code examples/samples are available it would be much appreciated.
Many Thanks for your help in advance.
Hach
I have read a lot of posts in this forum but still cannot get my head around this so please forgive me if I'm asking a question that has already been answered.
I have a report that provides detailed information (similar to an invoice) for multiple customers. Each customer has a unique ID and the report is grouped by this and a page break is inserted where the customer ID changes in the report.
I would like to email the report to each customer (with only their details) as an attachment. I have email addresses in the query that is used to generate the report. I am aware that I can do this be running the report for each customer seperately but there are over 140 so I would like to automate it, so it sends the relevant report to each customer automatically.
I am a beginer to VBA so if any code examples/samples are available it would be much appreciated.
Many Thanks for your help in advance.
Hach