gpt4 book ai didi

excel - 如何将电子邮件另存为草稿?

转载 作者:行者123 更新时间:2023-12-04 16:07:30 25 4
gpt4 key购买 nike

我有 20 多封由 Excel VBA 代码创建的电子邮件。

我想将这些保存为草稿。

With OutMail
.SentOnBehalfOfName = email_from
.To = email_to
.CC = email_cc
.BCC = email_bcc
.subject = subject
.HTMLBody = "Dear All,<br /> <br/>Please find below today's MIS. <br/>" & RangetoHTML(rng)
.Attachments.Add (Attach_Path)
.display
End With

最佳答案

应该只是SaveClose的简单案例..

With OutMail
.SentOnBehalfOfName = email_from
.To = email_to
.CC = email_cc
.BCC = email_bcc
.Subject = Subject
.HTMLBody = "Dear All,<br /> <br/>Please find below today's MIS. <br/>" & RangetoHTML(Rng)
.Attachments.Add (Attach_Path)
.Save
.Close
End With

关于excel - 如何将电子邮件另存为草稿?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/46111652/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com