在Outlook中设置特定文本的格式 [英] Format specific text in Outlook

查看:135
本文介绍了在Outlook中设置特定文本的格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要格式化从Outlook中的Excel获取的特定String值.

I need to format the specific String value which was acquired from Excel in Outlook.

一旦Excel提供了该值,宏就会将该值附加到电子邮件中.

Once the value is provided by Excel, macro will then append that value in the email message.

我尝试测试并将其值设置为BOLD,但是消息的所有内容都变为BOLD.如何使用我喜欢的字体类型,大小和颜色来设置值的格式?

I tried testing and setting the value to BOLD but all of the contents of the message became BOLD. How do I format the value in such a way I can use the font type, size and color to my liking?

obj.HTMLBody = "<b>" & StrAgnt & vbCrLf & obj.HTMLBody

推荐答案

请参见

MSDN HTMLBody属性

这篇关于在Outlook中设置特定文本的格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆