Saya mencoba menambahkan beberapa peserta tetapi hanya alamat email terakhir yang disebutkan di area .To.
Tes 1:
.RequiredAttendees = "[email protected];"
.RequiredAttendees = "[email protected]"
Tes 2:
.RequiredAttendees = "[email protected]; [email protected]"
Kode lengkapnya:
Sub MeetingInvite()
Dim rng As Range
Dim OutApp As Object
Dim OutMail As Object
With Application
.EnableEvents = False
.ScreenUpdating = False
End With
Set OutApp = CreateObject("Outlook.Application")
Set OutMail = OutApp.CreateItem(1)
On Error Resume Next
With OutMail
.RequiredAttendees = "[email protected];"
.RequiredAttendees = "[email protected]"
.Subject = "Meeting"
.Importance = True
.Body = "Meeting Invite" & Format(Date)
.Display
End With
Set OutMail = Nothing
Set OutApp = Nothing
Unload Emy
End Sub
Saya perlu menambahkan sekitar 30 alamat email.
.RequiredAttendees = "[email protected]; [email protected]"
bekerja untuk saya - person Siddharth Rout   schedule 02.12.2017Recipients
. msdn.microsoft.com/en- kami/VBA/Outlook-VBA/artikel/ - person NickSlash   schedule 02.12.2017is there a maximum number of emails I can add?
Lihat INI - person Siddharth Rout   schedule 02.12.2017