Sub Schedulet
Sub Schedulet
Dim ws As Worksheet
Dim i As Long
Set ws = ThisWorkbook.Sheets("Mailer")
i=2
usrName = Environ("Username")
oAccount.Session.Logon
With objAppt
.RequiredAttendees = ws.Cells(i, 3)
.Subject = ws.Cells(i, 4)
.Body = ws.Cells(i, 10) & usrName & vbNewLine & "Internal Loops Scheduling Team" &
vbNewLine & "ES - Recr Svc"
.Sensitivity = olPrivate
.MeetingStatus = 1
.ResponseRequested = True
.SendUsingAccount = oAccount
.Send
End With
End If
End If
i=i+1
Wend
objOApp.Session.Logoff
Exit Sub
errlbl:
MsgBox Err.Description
End If
End Sub
'Dim ws As Worksheet
'
'Set ws = ThisWorkbook.Sheets("Mailer")
'
'
'End If
'
'End Sub