我正在编写VBA以使用html格式创建自动电子邮件。我有几个来自vba的变量值,我需要通过html编码传递。长话短说:
FullName = strfullname ' value for strfullname will be passed from another function
With objmail
.bodyformat = olformathtml
.htmlbody = "This is my fullname: (display the value of fullname ) "
end with
答案 0 :(得分:0)
FullName = strfullname ' value for strfullname will be passed from another function
With objmail
.bodyformat = olformathtml
.htmlbody = "This is my fullname: " & FullName
end with