i realise that without html emails, the formatting capabilities are very limited.. eg.. you cant use tables or images.. to my knowledge
i believe the alternative is rtf, rich text format, which is just basic text
i have a button on my form that opens outlook and sends an email using the information from my fields.
what i need to know is whether any formatting at all can be added.. in access.. that will jazz up the outlook template even a little bit...
for example.. below is the code for my button.. is there any tags i can add to format the font..
like html tags.. <arial><10pt><blue><bold>"Name: " & Me.Myfield....
i know these tags are non existent, but i just wanted to illustrate what im looking for.. if this can be done.. i would like to see an example of the code, so atleast i can freely add some formating to different paragraphs in my email body..
here is the code at the moment..
London Heathrow Cars
i believe the alternative is rtf, rich text format, which is just basic text
i have a button on my form that opens outlook and sends an email using the information from my fields.
what i need to know is whether any formatting at all can be added.. in access.. that will jazz up the outlook template even a little bit...
for example.. below is the code for my button.. is there any tags i can add to format the font..
like html tags.. <arial><10pt><blue><bold>"Name: " & Me.Myfield....
i know these tags are non existent, but i just wanted to illustrate what im looking for.. if this can be done.. i would like to see an example of the code, so atleast i can freely add some formating to different paragraphs in my email body..
here is the code at the moment..
Code:
Option Compare Database
Private Sub emailbutton_Click()
On Error GoTo send_Err
Dim strToWhom As String
Dim strMsgBody As String
Dim strSubject As String
Dim temp As Integer
temp = Right([jobday], 1)
strSubject = "Email Title"
If Len(Me.emailadd & vbNullString) = 0 Then
MsgBox ("Forgot an email address")
Me.emailadd.SetFocus
Else
strToWhom = Me.emailadd
strMsgBody = "How can i format this text"
DoCmd.SendObject , , , strToWhom, , , strSubject, strMsgBody, True
End If
send_Err:
If Err.Number = 2501 Then
MsgBox "THIS EMAIL HAS NOT BEEN SENT!", vbInformation, "Notice!"
End If
End Sub
London Heathrow Cars