1
複数の出席者を追加するには2つの方法を試しましたが、最後の電子メールアドレスだけが.To領域に記載されています。Meeting Inviteに複数の出席者を追加
試験1:は失敗
.RequiredAttendees = "[email protected];"
.RequiredAttendees = "[email protected]"
試験2:
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
コードが招待私作成:は以下
.RequiredAttendees = "[email protected]; [email protected]"
がフルコードで失敗約30の電子メールを追加する必要がありますアドレス。
'.RequiredAttendees =" [email protected]; [email protected] "は私のために働いています –
https://i.stack .imgur.com/Oi4hi.png –
ありがとうございます - これをもう少し試してみましょう。私は確認を感謝します。 Byc hance、私が追加できる電子メールの最大数はありますか? – LivinLife