dichotomous
Registered User.
- Local time
- Tomorrow, 06:57
- Joined
- Oct 19, 2012
- Messages
- 62
Hi
I have researched the internet and am able to send an appointment to Outlook for re-scheduling expired training. I have used the following code.
Private Sub Reminder_Click()
Dim Outlookapp As Outlook.Application
Dim OutlookAppointment As Outlook.AppointmentItem
Set Outlookapp = CreateObject("outlook.application")
Set OutlookAppointment = Outlookapp.CreateItem(olAppointmentItem)
With OutlookAppointment
.Subject = "Reschedule Training for Employee: " & Me.Employee
.Body = "Employee training expires 14 days before due. Training Name: " & Me.Training & " Expires on" & Me.Expiry
.Importance = olImportanceHigh
.Start = Me.Expiry - 14 & " 8:00 AM"
.End = Me.Expiry - 14 & " 8:30 AM"
.Save
End With
End Sub
this is now working fine. but, it turns up in my calander.
What I want to do is assign this task to another user (our office administrator) in a Microsoft Exchange Environment.
I know it can be done, but it is beyond me. I would really appreciate some help.
I have researched the internet and am able to send an appointment to Outlook for re-scheduling expired training. I have used the following code.
Private Sub Reminder_Click()
Dim Outlookapp As Outlook.Application
Dim OutlookAppointment As Outlook.AppointmentItem
Set Outlookapp = CreateObject("outlook.application")
Set OutlookAppointment = Outlookapp.CreateItem(olAppointmentItem)
With OutlookAppointment
.Subject = "Reschedule Training for Employee: " & Me.Employee
.Body = "Employee training expires 14 days before due. Training Name: " & Me.Training & " Expires on" & Me.Expiry
.Importance = olImportanceHigh
.Start = Me.Expiry - 14 & " 8:00 AM"
.End = Me.Expiry - 14 & " 8:30 AM"
.Save
End With
End Sub
this is now working fine. but, it turns up in my calander.
What I want to do is assign this task to another user (our office administrator) in a Microsoft Exchange Environment.
I know it can be done, but it is beyond me. I would really appreciate some help.