【发布时间】:2019-10-18 17:48:39
【问题描述】:
我希望在文本正文中添加制表符/间距,特别是在“1”之前和之后。
我尝试了 " " 和 Space(10)。
sBodyStart = "<font size=""3"" face=""Calibri"" color=""black"">" & _
"Good Afternoon," & "<br>" & "<br>" & vbCrLf & vbCrLf & _
"Please confirm and acknowledge the below by responding with the appropriate voting button." & "<br>" & "<br>" & _
"1. Do not share this information." & "<br>" & "<br>" & _
"Please provide a response to this email using the voting buttons, no later than September 20, 2019. If you have any questions, please do not hesitate to reach out." & "<br>" & "<br>" & "<br>" & vbCrLf & vbCrLf & _
"</font>"
【问题讨论】:
-
这将输出到 HTML,并将被如此解释。我怀疑您的 HTML 解释器(outlook)正在剥离多个空格,因为 HTML 通常会这样做。尝试在字符串中为您要添加的每个空格添加一个
&nbsp;。