FatherJack
Programmer
I am trying to create a form in access2000 to allocate tasks to an office group. Tasks are collected over an intranet into the database and need to be sent out to outlook2000 users. I can create tasks for all users except the user that is doing the allocation. I cannot get the items.add("taskname"
to work.
Set olApp = New Outlook.Application
Set olNameSpace = olApp.GetNamespace("MAPI"
Set olFolder = olNameSpace.GetDefaultFolder(olFolderTasks)
Set olItems = olFolder.Items
Set olTask = olItems.Add("taskname"
the olItems is where the code falls over but online help doesnt clear the problem for me
[sig][/sig]
Set olApp = New Outlook.Application
Set olNameSpace = olApp.GetNamespace("MAPI"
Set olFolder = olNameSpace.GetDefaultFolder(olFolderTasks)
Set olItems = olFolder.Items
Set olTask = olItems.Add("taskname"
the olItems is where the code falls over but online help doesnt clear the problem for me
[sig][/sig]