Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2006
    Posts
    110

    Question Unanswered: How to change the font when sending in Outlook?

    How would make my font bold on my label items, such as County:,Event..etc I have tried using /b but it didnt work.

    This is my message in outlook:

    If Me.TRACKING1 = "NONE" Then message = "County: " & COUNTY & vbCrLf & "Event: " & EVENT_TYPE & vbCrLf & "Number of Replacements: " & NUM_REP & vbCrLf & "Report Month(s): " & REPORT_MONTH & ", " & Me.Combo87 & vbCrLf & "Date Mailed: " & DATE_MAILED & vbCrLf & "Date Rec'd: " & DATE_RECD & vbCrLf & "Tracking or LR #'s: " & TRACKING1 & " Total Records: " & TOTAL1

    I also have these:

    OI.BodyFormat = olFormatHTML
    OI.Body = message

    Thanks in advance,
    Chris

  2. #2
    Join Date
    Dec 2002
    Location
    Préverenges, Switzerland
    Posts
    3,740
    i don't do this to Outlook mails so i have no idea at all if it will work for you, but the html tag for bold is <b>this</b> (you have to switch off bold as well).

    izy
    currently using SS 2008R2

  3. #3
    Join Date
    May 2005
    Location
    Nevada, USA
    Posts
    2,888
    Provided Answers: 6
    It should work, but as izy said you'd have to use the correct tags. This is slightly different that what you posted, but works (not saying yours wouldn't; haven't tested it):

    MyMail.HTMLBody = "This is the text <b>bold here</b> not bold here"
    Paul

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •