Let me start by apologizing as my question might already be answered, but i am new to this and my searching has not been able to find the right thing, as i may be using the wrong terminology. I will also add that i am new to VBA code, and usually get by with macros in Access, but have been learning.
I have a table that has a "Parking Passes", that has "Pass#" for each "CustomerID". Then i have a table that lists my Customers, with FirstName, LastName, CustomerID and Email. I can use a query to get the customer information together with the Parking "Pass#".
I then have a nicely designed report, that pulls each parking pass# in and populates it nicely specific to the customers name. Each page of the report is a different pass# (ie. Page 1 is Pass#01 for John Doe, page 2 is Pass#02 for Jane Doe).
I want to use VBA to email each customer a PDF of their specific Parking pass in one click. I have figured out how to use the SendObject command to send each person in the list and email, and how to individualize their email to have customized content (such as adding their name to the subject line). BUt i cant figure out how to get it to send the PDF attachment that is the correct iteration of the report. PLEASE HELP, thank you!