Email an Access Report to Multiple List Box Selections
Question details
Send a PDF report for the current Access form record to recipients selected in a multi-select list box, with the option to send calendar invitations.

- Product
- Microsoft Access and Microsoft Outlook
- Device & OS
- not provided
- Scenario
- A form lets the user select multiple email recipients and send a report or reminder for the current record.
- Observed behavior
- The goal is to email the current record's report to each selected recipient and, when needed, invite recipients to an Outlook calendar event.
Set the list box's Multi Select property to Simple or Extended and make sure its bound column contains recipient email addresses. Confirm that an email application is configured for Access to use and that the form has a control containing the current record's primary key.
Email the current Access report to each selected recipient
Filter the report to the current form record, then loop through the selected list box items to send a PDF to each address.
The example uses a form named frmRecords, a primary-key control named txtRecordID, a list box named lstEmails, and a report named rptCurrentRecord. Replace these names with the names in your database.
Open the query used by the report in Design View. In the Criteria row under the primary-key field, enter [Forms]![frmRecords]![txtRecordID], substituting your form and control names. Save the query and set it as the report's Record Source.
Open the form in Design View, select the send button, and use its On Click property to open the VBA event procedure. Add the following code inside the procedure: Dim varItem As Variant Dim recipient As String If Me.Dirty Then Me.Dirty = False If Me.lstEmails.ItemsSelected.Count = 0 Then MsgBox "Select at least one recipient." Exit Sub End If With Me.lstEmails For Each varItem In .ItemsSelected recipient = Nz(.ItemData(varItem), "") If Len(recipient) > 0 Then DoCmd.SendObject acSendReport, "rptCurrentRecord", acFormatPDF, recipient, , , "Report", "Please find the report attached.", True End If Next varItem End With
Open frmRecords in Form View, navigate to a record, select recipients in lstEmails, and click the send button. Review each generated email and send it from your email application.

Send an Outlook calendar invitation with the report
Use Outlook to create an invitation when recipients need a calendar event rather than an ordinary email.
Use WPS Office for Everyday Document and PDF Work
WPS Office is a free, lightweight alternative with a familiar interface for working with documents, spreadsheets, presentations, and PDFs. Its Microsoft Office format compatibility helps you move existing files into WPS, though it does not replace Access database automation or Outlook calendar invitations.

Frequently Asked Questions
How does the report include only the current form record?
In the report's source query, add a criterion such as [Forms]![frmRecords]![txtRecordID] under the primary-key field. Keep the form open on the desired record when you run the report.
Why should I save the form record before emailing the report?
Saving commits edits so the report query can use the current values. In the button's VBA procedure, use If Me.Dirty Then Me.Dirty = False before running the recipient loop.
Can each recipient receive a different subject or message?
Yes. Include the subject or message data in the list box's Row Source, then read the appropriate columns inside the ItemsSelected loop and pass those values to DoCmd.SendObject.
Does DoCmd.SendObject create an Outlook meeting invitation?
No. It creates an email with the report attached. Create a meeting in Outlook and attach the PDF, or write separate Outlook automation code to create and send the invitation.




