Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Format Text (VB6)

    I need to format a line of text within a Mapi .msgNoteText which is a continuation of a long string.

    I only want one of the lines to be formatted in bold as with the below, I seem to be going round in circles trying to achieve this.

    <pre> .MsgNoteText = _
    Space(2) & vbCrLf & _
    "Please Find Your Files As Attached" & Space(2) & vbCrLf & vbCrLf & _
    "If Invoices Are Attached :- " & vbCrLf & _
    "Please Make Invoice Payments To:" & vbCrLf & vbCrLf & _</pre>


  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Format Text (VB6)

    MsgNoteText is a property of type String, i.e. it only stores plain text. Formatting is not supported. MAPI is not Outlook!

  3. #3
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Format Text (VB6)

    Hmmmmmmmmm

    I wondered why it was so difficult and getting no-where.
    I can manage in normal text then, it was only bells and whistles.

    Thanks Hans

Posting Permissions

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