Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2011
    Location
    Rhyl
    Posts
    10

    Unanswered: Making text bold in visual basic

    Hi, does anyone know how to make text bold (or ideally certain parts of the text bold)?

    Here is my code:

    Private Sub Send_Reminder_Click()
    Dim stdocname As String
    Dim stEmail As String
    Dim stEmailcc As String
    Dim stEmailbcc As String
    Dim stSubject As String
    Dim stbody As String

    stdocname = "frmChangeProcess"

    stEmail = "faye.holmes-langstone@denbighshire.gov.uk"

    stEmailcc = "cefndyengineering@denbighshire.gov.uk"

    stSubject = "Technical Request Action Reminder for: " & RequestType & " to " & ProductCode & ""


    stbody = ("Please complete the following action: 1. New design/design change or product/component sample verified (if applicable) and validated " & vbCrLf & _
    vbCrLf & _
    "Please sign as actioned on the Technical Database once complete (L:\Technical Request Database)" & vbCrLf & _
    vbCrLf & _
    "Details:" & vbCrLf & _
    "Requested By: " & RequestedBy & vbCrLf & _
    "Request Date: " & RequestDate & vbCrLf & _
    "Product Code: " & ProductCode & vbCrLf & _
    "Details: " & Details & vbCrLf & _
    vbCrLf & _
    " ")


    DoCmd.SetWarnings False
    DoCmd.SendObject acSendNoObject, , , stEmail, stEmailcc, , stSubject, stbody, , False
    DoCmd.SetWarnings True
    End Sub


    Thanks!

  2. #2
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    making text bold in an email relies on sending the email as HTML
    not all corporate networks are happy with that as it is a known vector for attack.

    I don't know how you would send an email encoded as HTML in Access, but I do know a man who does
    ms access html email - Google Search
    I'd rather be riding on the Tiger 800 or the Norton

Posting Permissions

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