export table to outlook from excel that is blackberry friendly

后端 未结 2 829
灰色年华
灰色年华 2020-12-22 01:51

So I gathered from different places on the internet some code to export a table into outlook and send it out automatically and have just noticed that the email is not really

2条回答
  •  渐次进展
    2020-12-22 02:27

    Inside your With block, set the BodyFormat Property to olFormatRichText.

    With OutMail
    .BodyFormat = olFormatRichText
    ' rest of your code
    

    Let us know if that works.

    Edit:

    Setting the HTMLBody Property will convert the email to HTML. If you set the BodyFormat Property to olFormatRichText then you would need to use the Body Property, which would eliminate the possibility of using HTML.

    So I don't see any way you could both set up the email with a HTML table and send it as Rich Text format.

提交回复
热议问题