Hi Forum members.
I am building a “report manager”, a form that will allow users to select any report, and e-mail it to any number of people.
I’ve built the listbox that displays all of the reports, and i’ve also used to listboxes for the people to e-mail to.
Listbox 1 displays a list of people in a table, which also contains their e-mail address, phone number, company etc.
Double clicking on any name will copy that name across to listbox 2, which has two columns; one to show the name, and another to hold the respective e-mail address. As many names as necessary can be added to listbox 2.
I’m using outlook.application to create the e-mail, and that is all working. I can also pass the report name to attach, as well as the subject header and body details. No problems there at all.
Now for my problem. I can’t work out how to take the e-mail address/addresses from Me![Selected].Column(1) and pass them to the .To of the e-mail.
I’ve tried using a recordset and a rowsource, but to no avail.
Any ideas would be very welcome.
Regards
Peter Gidden
Access97 SR2