e mail syntax, adjust to Subject instead of message, SEE CODE ! Thanks,

D

Dave Elliott

How can I adjust the below code so that it copies From Gulf Coast Electric
to the Subjest instead of the
Body or message ?

Thanks,

Dave



DoCmd.SendObject acSendNoObject, "FormTyp", acFormatHTML, [Text173], , , ,
"From Gulf Coast Electric", True, ""
 
R

Rick Brandt

Dave Elliott said:
How can I adjust the below code so that it copies From Gulf Coast Electric
to the Subjest instead of the
Body or message ?

Thanks,

Dave



DoCmd.SendObject acSendNoObject, "FormTyp", acFormatHTML, [Text173], , , ,
"From Gulf Coast Electric", True, ""


You can remove one of the commas in front of it so it ends up in the Subject
argument position instead of the Message argument position (then place that
comma after it instead).

You also use acSendNoObject and then proceed to provide the name of an object to
not send as well as the format not to send it in. Is it your intent to send an
object as an attachment or not?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top