vba - Join MS Access data in a column of emails from a filtered sub table into a string for emailing -
i have form company info, in sub form joined table has company contacts. button in parent form takes contacts company , creates string value based on email addresses in email column. open email window me has emails in field.
if new access , vb experienced in dbo , c#, can understand answers not explanation.
not sure need first part, here code email:
dim outapp object dim outmail object set outapp = createobject("outlook.application") 'defines outlook set outmail = outapp.createitem(0) 'creates email outmail .to = "" .cc = "" .bcc = "" .subject = "" .body = "" .attachments.add "" .display 'to show email .send 'to send email end
Comments
Post a Comment