0
我目前有一段代码段来预先填充邮件并附上当前工作表。我需要确定的是还要添加一个标准体,下面是我的代码;通过Lotus Notes填充电子邮件正文 - Excel VBA
Sub SDFMail()
Dim name As Variant
Dim subj As Variant
name = InputBox("Please enter name of requestor")
subj = InputBox("Please enter the subject of the service ticket")
dias = InputBox("Please enter the date in the following format DD-MM-YYYY")
Dim strrecipient As String: strrecipient = "[email protected]"
Dim strsubject As String: strsubject = subj & " - " & name & " - " & dias
Application.Dialogs(xlDialogSendMail).Show arg1:=strrecipient, arg2:=strsubject
End Sub
感谢你的帮助,
最佳,
一个