C
Cyrill Häfeli
Hello Peoples
I have a Problem in VBA in MS Outlook
I want create a TaskItem in a Shared Folder, i need help.
This is My Code Now:
Dim ol As Object
Dim olns As Object
Dim objfolder As Object
Dim items As outlook.TaskItem
Dim item As Object
Dim txtFällig As Date
Set ol = New outlook.Application
Set olns = ol.GetNamespace("MAPI")
Set objfolder = olns.Folders("Öffentliche Ordner").Folders("Alle Öffentlichen Ordner").Folders("GD")
Set items = ol.CreateItem(olTaskItem)
With items
.Subject = txtAuftrag
.DueDate = txtFällig
.StartDate = Date
.Save
End With
I have a Problem in VBA in MS Outlook
I want create a TaskItem in a Shared Folder, i need help.
This is My Code Now:
Dim ol As Object
Dim olns As Object
Dim objfolder As Object
Dim items As outlook.TaskItem
Dim item As Object
Dim txtFällig As Date
Set ol = New outlook.Application
Set olns = ol.GetNamespace("MAPI")
Set objfolder = olns.Folders("Öffentliche Ordner").Folders("Alle Öffentlichen Ordner").Folders("GD")
Set items = ol.CreateItem(olTaskItem)
With items
.Subject = txtAuftrag
.DueDate = txtFällig
.StartDate = Date
.Save
End With