Sub outfile()
Set myOL = CreateObject("outlook.application")
Set myMail = myOL.createItem(0)
myMail.to = "[email protected]"
myMail.Subject = "see you sooon"
myMail.body = "execl send to Mail...."
myMail.Display
myMail.send
End Sub
有類似以上的格式 最能夾帶附件
能自動化發email作者: alumi 時間: 2012-6-2 18:24
Option Explicit
Sub SendAsPDF()
' Uses early binding
' Requires a reference to the Outlook Object Library