Others

Email an Access Report to Multiple List Box Selections

Anum MushtaqAnum Mushtaq Nov 18, 2026 868 views

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.

Email an Access Report to Multiple List Box Selections
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.
Before you start

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.

Solution 1Recommended

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.

1
Filter the report query

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.

2
Add the button code

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

3
Test the messages

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.

Email the current Access report to each selected recipient
Email address column: ItemData reads the list box's bound column. If the email address is in another column, use the list box's Column property with the appropriate zero-based column index instead. The final True argument opens each message for review rather than sending it automatically.
Free Microsoft Office alternative

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.

Work with PDFs and common office documents in one suite.Open and edit Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTX.Use a familiar interface that makes migration from Microsoft Office easier.Choose a free, lightweight suite for everyday office tasks.
microsoft office alternative - wps office

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.