AstroDonut
Registered User.
- Local time
- Today, 13:21
- Joined
- Oct 30, 2009
- Messages
- 22
Hi,
I have used DoCmd.SendObject to create an email with a report attached, I found a snippet of code to insert the unique reference into the 'Subject:' field on the email.
I tried playing around with it to solve my problem and it failed!!
So...
I have a table of users with an ID, first name, second name, email address
An autonumber is created using data from that table to create a unique reference for the record in a format put in place by our ISO fella.
I want to send an email to two people, the person in the 'To:' field stays the same so I put "samepersonsname@thecompany.com" in the vba, I want to put the name of the person creating the record related to the attached report in the 'CC:' box of the same email.
Does anybody understand what I'm asking?
I'm an extreme novice user with vba (I've copied and dabbled, just not fluent!!)
Thanks in anticipation
Bri
I have used DoCmd.SendObject to create an email with a report attached, I found a snippet of code to insert the unique reference into the 'Subject:' field on the email.
I tried playing around with it to solve my problem and it failed!!
So...
I have a table of users with an ID, first name, second name, email address
An autonumber is created using data from that table to create a unique reference for the record in a format put in place by our ISO fella.
I want to send an email to two people, the person in the 'To:' field stays the same so I put "samepersonsname@thecompany.com" in the vba, I want to put the name of the person creating the record related to the attached report in the 'CC:' box of the same email.
Does anybody understand what I'm asking?
I'm an extreme novice user with vba (I've copied and dabbled, just not fluent!!)
Thanks in anticipation
Bri