bruceblack
Registered User.
- Local time
- Today, 19:17
- Joined
- Jun 30, 2017
- Messages
- 119
Hello everyone.
I have a form with a button that has the code below under it.
I'm sending an outlook reminder to myself with it. Work perfectly fine.
But, how can i send it to multiple users?
I searched around and no solution seems to work.
Also do i need a special reference for this?
Cheers!
I have a form with a button that has the code below under it.
I'm sending an outlook reminder to myself with it. Work perfectly fine.
But, how can i send it to multiple users?
I searched around and no solution seems to work.
Also do i need a special reference for this?
Cheers!
Code:
Private Sub Command35_Click()
Dim OutlookApp As Outlook.Application
Dim OutlookTask As Outlook.TaskItem
Set OutlookApp = CreateObject("Outlook.Application")
Set OutlookTask = OutlookApp.CreateItem(olTaskItem)
With OutlookTask
.Recipients = [EMAIL="email@email.com"]email@email.com[/EMAIL] 'This doesnt work either
.Subject = "Time to charge serial" & Me.serial
.Body = "charge needed"
.StartDate = Me.nextcharge - 5
.ReminderSet = True
'.RemindTime = ("2:45 PM")
'.DueDate = Me.Target_Date
.ReminderPlaySound = True
'.ReminderSoundFile = 'Modify path.
.Save
End With
End Sub