I have a code behind a button which on click creates a email and adds set text to the body of the email. Below is a cut down version of this.
Now I'm looking to find a way to be able to change the format of the text i.e changing to bold, colour red, font Arial and underline.
Now unfortunately I don't know how to do this, I've tried vbColor etc but no joy. I would be extremly greatful for any help.
Dim emailtxt As String
emailtxt = emailtxt & "How do I make this test bold, red and font arial?" & Chr(13) & Chr(13)
DoCmd.SendObject , "", "", "mailkunal@aol.com", "", "", "TEST EMAIL", emailtxt, True, """"""
Many thanks,
Kunal
Now I'm looking to find a way to be able to change the format of the text i.e changing to bold, colour red, font Arial and underline.
Now unfortunately I don't know how to do this, I've tried vbColor etc but no joy. I would be extremly greatful for any help.
Dim emailtxt As String
emailtxt = emailtxt & "How do I make this test bold, red and font arial?" & Chr(13) & Chr(13)
DoCmd.SendObject , "", "", "mailkunal@aol.com", "", "", "TEST EMAIL", emailtxt, True, """"""
Many thanks,
Kunal