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
感謝你的幫助,
最佳,
一個