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

  • Thread starter Thread starter Dave Elliott
  • Start date Start date
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, ""
 
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?
 
Back
Top