I am using the following to write an automatic email
MessText1 = Me.FirstName & "," & vbCrLf & vbCrLf & _
"We have registered you for the following classes:" & vbCrLf & vbCrLf
MessText2 = "Day" & vbTab & vbTab & "Class Num - Instructor" & vbCrLf
MessText3 = "Monday:" & vbTab & Me.Monday & IIf([Monday] > 0, "A - " & txtInstMon, "") & vbCrLf & _
"Tuesday:" & vbTab & Me.Tuesday & IIf([Tuesday] > 0, "B - " & txtInstTue, " ") & vbCrLf & _
"Wednesday:" & vbTab & Me.Wednesday & IIf([Wednesday] > 0, "C - " & txtInstWed, " ") & vbCrLf & _
"Thursday:" & vbTab & Me.Thursday & IIf([Thursday] > 0, "D - " & txtInstThu, " ") & vbCrLf & _
"Friday:" & vbTab & vbTab & Me.Friday & IIf([Friday] > 0, "E - " & txtInstFri, " ") & vbCrLf & _
"Saturday:" & vbTab & Me.Saturday & IIf([Saturday] > 0, "F - " & txtInstSat, " ") & vbCrLf & vbCrLf & _
"We look forward to seeing you in class." & vbCrLf & vbCrLf &
DoCmd.SendObject _
ObjectType:=acSendNoObject, _
To:=Me.Email, _
Subject:="Class Registration", _
MessageText:=MessText1 & MessText2 & MessText3, _
Editmessage:=True
Originally this was one single 'line' label MessText. I broke it into three parts. What I want is the MessText2 to appear in bold. Can anyone suggest a way to put just part of the message in Bold?
Orlan
| Reply via web post | Reply to sender | Reply to group | Start a New Topic | Messages in this topic (1) |
Tidak ada komentar:
Posting Komentar