R
RTimberlake
I need to be able to send an Outlook task from an Access from. The code I
have tried is not working. I am currently using this code:
Private Sub SendTask_Click()
Function fncAddOutlookTask()
Dim OutlookApp As Outlook.Application
Dim OUtlookTask As Outlook.TaskItem
Set OutlookApp = CreateObject
Set OUtlookTask = OutlookApp.CreateItem
End Function
End Sub
When I try this I get an error: Complie error - Expected End Sub.
Please help.
have tried is not working. I am currently using this code:
Private Sub SendTask_Click()
Function fncAddOutlookTask()
Dim OutlookApp As Outlook.Application
Dim OUtlookTask As Outlook.TaskItem
Set OutlookApp = CreateObject
Set OUtlookTask = OutlookApp.CreateItem
End Function
End Sub
When I try this I get an error: Complie error - Expected End Sub.
Please help.